ibm cloud softlayer introduction & hands-on 2016

56
© 2016 IBM Corporation 29 June, 2016 Atsumori Sasaki Advisory Architect IBM Cloud Japan IBM Cloud SoftLayer Introduction & Hands-on

Upload: atsumori-sasaki

Post on 21-Apr-2017

556 views

Category:

Internet


1 download

TRANSCRIPT

Page 1: IBM Cloud SoftLayer Introduction & Hands-on 2016

© 2016 IBM Corporation

29 June, 2016Atsumori SasakiAdvisory ArchitectIBM Cloud Japan

IBM Cloud SoftLayerIntroduction & Hands-on

Page 2: IBM Cloud SoftLayer Introduction & Hands-on 2016

2Page© 2016 IBM Corporation

Agenda

1. SoftLayer Overview 20 min2. Customer Portal Demo 10 min3. SoftLayer Hands-On 60 min

Page 3: IBM Cloud SoftLayer Introduction & Hands-on 2016

3Page© 2016 IBM Corporation

SoftLayer Overview

Page 4: IBM Cloud SoftLayer Introduction & Hands-on 2016

4Page© 2016 IBM Corporation

Infrastructure Services(IaaS)

DeveloperServices(PaaS)

• Watson• Mobile• Internet of Things• DevOps• Analytics• Integration• Databases• Runtimes

• Compute• Network• Storage• Security• Data Center

Cloud Foundry

Bare Metal

EventDriven

DockerContainers

VirtualMachines

Public LocalDedicatedMulti-Tenant

Off-PremSingle-Tenant

Off-PremSingle-Tenant

On-Prem

IBM Bluemix

IBM Cloud Platform Portfolio

Page 5: IBM Cloud SoftLayer Introduction & Hands-on 2016

5Page© 2016 IBM Corporation

IBM Cloud - SoftLayer

Service: IaaS (Cloud Computing)Founded: 2005Headquarters: Dallas, Texas, USAParent: IBM (Since 2013)Website: softlayer.com

https://en.wikipedia.org/wiki/SoftLayer

Page 6: IBM Cloud SoftLayer Introduction & Hands-on 2016

6Page© 2016 IBM Corporation

“Cloud is not a winner-take-all market,” said UBS. “We believe the 'big will get bigger,' ... AWS, Microsoft, and Google are going to be winners, with IBM holding its own.

IBM Joining Amazon, Microsoft, Google In Cloud’s Top 4, Says UBShttp://www.investors.com/news/technology/ibm-joining-amazon-microsoft-google-in-clouds-top-4-says-ubs/

32%

13%

7%

6%

Cloud’s Top 4 (IaaS/PaaS)

Page 7: IBM Cloud SoftLayer Introduction & Hands-on 2016

7Page© 2016 IBM Corporation

SoftLayer Global footprintIPv4/IPv6 dual stackGlobal DNS

Global DDOS MitigationGlobal Internet Exchanges & Peering

28 cloud data centers 23 access points (Network PoP) Secure, high-speed network Direct Integration to on-premises

Page 8: IBM Cloud SoftLayer Introduction & Hands-on 2016

8Page© 2016 IBM Corporation

“For Second Year in a Row, Cloud Benchmark Reveals IBM SoftLayer Nearly Three Times

Faster than Amazon Web Services”-VoltDB Jan 2016

For Second Year in a Row, Cloud Benchmark Reveals IBM SoftLayer Nearly Three Times Faster than Amazon Web Serviceshttps://voltdb.com/news/second-year-row-cloud-benchmark-reveals-ibm-softlayer-nearly-three-times-faster-amazon-web

3x Faster Than AWS

High Performance Cloud

Page 9: IBM Cloud SoftLayer Introduction & Hands-on 2016

9Page© 2016 IBM Corporation

Service portfolio

SoftLayer Global Footprint (10Gbps global private network)

Network & RoutingVPN: SSL(Standard/Free), PPTP, IPSec (Option) / LB: L4, L7, Dedicated, LLB, GLB / DNS: AnyCast DNSGateway: Vyatta, L7: Citrix Netscaler, Security: FortGate

Computing ResourceBare Metal Server (monthly / hourly billing)Virtual Server (Private Node)Virtual Server (Public Node)

Storage ResourceSATA/SSDBlock/File StorageObject StorageEVault backupR1Soft backup (Disk to Disk)

Database ResourceMS SQLMy SQLMongoDBClouderaRiak

IaaS

Contents DeliveryCDNFree inter Datacenter

Anti Virus KVM Console SSL CertificateMcAfee for Windows

Console Access Norton Geo trust

Message QueSoftLayer Message queue

Mail Delivery Transcoding SecurityEmail Delivery Service Video / Voice

10 formatIDS protectionHW Firewall

SL APIC#, PERL, PHP ,Python,REST, Ruby, VB.net

Control Panel Monitoring UtilitycPanel / WHM Nimsoft Monitoring

IPMI 2.0, SNMPPassMark Software

Add onServices

DevManage

http://www.softlayer.com/jp/developers

Page 10: IBM Cloud SoftLayer Introduction & Hands-on 2016

10Page© 2016 IBM Corporation

Compliance without complication

http://www.softlayer.com/compliance

SOC Reports ISO 27001 ISO 27017 ISO 27018

Cloud Security Alliance – STAR Registrant PCI Compliance HIPAA Compliance EU Model Clauses

Page 11: IBM Cloud SoftLayer Introduction & Hands-on 2016

11Page© 2016 IBM Corporation

Global

Japan

21,000 46,000

50 1,500

71% up

x30

株式会社リコー ミラノ EXPOメディア情報配信実行委員会準備会

2013 2015

The number of customersOver 46,000 leading-edge customers in the world

Page 12: IBM Cloud SoftLayer Introduction & Hands-on 2016

12Page© 2016 IBM Corporation

Multi-Language Digital Sales

Choose any language you like!

Page 13: IBM Cloud SoftLayer Introduction & Hands-on 2016

13Page© 2016 IBM Corporation

Customer Portal Demo

Page 14: IBM Cloud SoftLayer Introduction & Hands-on 2016

14Page© 2016 IBM Corporation

Customer Portal Demo

Page 15: IBM Cloud SoftLayer Introduction & Hands-on 2016

15Page© 2016 IBM Corporation

SoftLayer Hands-On

Page 16: IBM Cloud SoftLayer Introduction & Hands-on 2016

16Page© 2016 IBM Corporation

User

UserPublic VLAN

UserPrivate VLAN

Internet

SoftLayerPrivate VLAN

SoftLayerPublic VLAN

PatchRepository

SSL VPNPPTP

IP Sec VPN

PoP

SoftLayer NTP ServerDNS Server

Internet

Admin

DC

SSL VPN

CDNNetwork

Internet

SoftLayerWAN

Bare metal Server

Public VLANPrivate VLAN

Load BalancerFirewall

SoftLayer Segment

Storage

SSL VPN

SoftLayer WAN  

Virtual Server

Icons

Template

TOK02

System Overview

ApacheMySQL

PHP

Page 17: IBM Cloud SoftLayer Introduction & Hands-on 2016

17Page© 2016 IBM Corporation

Hands-on Steps

Step 1

Login SoftLayer

Step 2

Order Linux VSI

Step 3Install Apache MysQL PHP

Step 4

SetupWordpress

Step 5

(Option)Setup Firewall

Let’s build your own contents management system on SoftLayer!

Page 18: IBM Cloud SoftLayer Introduction & Hands-on 2016

18Page© 2016 IBM Corporation

Login to Customer Portal Page (1/4)

Please use your username and password.

https://control.softlayer.com/

Page 19: IBM Cloud SoftLayer Introduction & Hands-on 2016

19Page© 2016 IBM Corporation

Login to Customer Portal Page (2/4)

Please download support policy.

Click “Acknowledge”

Page 20: IBM Cloud SoftLayer Introduction & Hands-on 2016

20Page© 2016 IBM Corporation

Login to Customer Portal Page (3/4)

Please close first welcome page.

Page 21: IBM Cloud SoftLayer Introduction & Hands-on 2016

21Page© 2016 IBM Corporation

Login to Customer Portal Page (4/4)

Page 22: IBM Cloud SoftLayer Introduction & Hands-on 2016

22Page© 2016 IBM Corporation

Order Virtual Server Instance (1/13)[Account] -> [Place an Order]

Page 23: IBM Cloud SoftLayer Introduction & Hands-on 2016

23Page© 2016 IBM Corporation

Order Virtual Server Instance (2/13)

Please select Hourly Virtual Server (public node)

Page 24: IBM Cloud SoftLayer Introduction & Hands-on 2016

24Page© 2016 IBM Corporation

Order Virtual Server Instance (3/13)

Please set Data Center location to “TOK02 –Tokyo”

Please set the quantity value to 1

Page 25: IBM Cloud SoftLayer Introduction & Hands-on 2016

25Page© 2016 IBM Corporation

Order Virtual Server Instance (4/13)

Please set the CPU to “2 x 2.0 GHz Cores”

Page 26: IBM Cloud SoftLayer Introduction & Hands-on 2016

26Page© 2016 IBM Corporation

Order Virtual Server Instance (5/13)

Please set the Operating System to “CentOS 6.x – Minimal Install (64 bit)

Please set the First Disk to “25 GB (SAN)”

Page 27: IBM Cloud SoftLayer Introduction & Hands-on 2016

27Page© 2016 IBM Corporation

Order Virtual Server Instance (6/13)Please set the Public Bandwidth

to “0 GB Bandwidth”

Please set the Uplink Port Speeds to “100 Mbps Public & Private

Network Updates”

Please set the Public Secondary IP Addresses to “None”

Please set the Primary IPv6 Addresses to “None”

Please set the Static IPv6 Addresses to “None”

Page 28: IBM Cloud SoftLayer Introduction & Hands-on 2016

28Page© 2016 IBM Corporation

Order Virtual Server Instance (7/13)

Please set the OS-Specific Addon to “None”

Please set the CDP Addon to “None”

Please set the Control Panel Software to “None”

Please set the Database Software to “None”

Please set the Hardware & Software Firewalls to “None”

Page 29: IBM Cloud SoftLayer Introduction & Hands-on 2016

29Page© 2016 IBM Corporation

Order Virtual Server Instance (8/13)Please set the Anti-Virus &

Spyware Protection to “None”

Please set the Intrusion Detection & Protection to “None”

Please set the Advanced Monitoring to “Monitoring

Package – Basic”

Please set the EVault to “None”

Please set the Monitoring to “Host Ping”

Page 30: IBM Cloud SoftLayer Introduction & Hands-on 2016

30Page© 2016 IBM Corporation

Order Virtual Server Instance (9/13)

Please set the Response to “Automated Notification”

Please set the Insurance to “None”

Please click “ADD TO ORDER”

Page 31: IBM Cloud SoftLayer Introduction & Hands-on 2016

31Page© 2016 IBM Corporation

Order Virtual Server Instance (10/13)

Please check out the “SoftLayer Cloud Services Agreement” and “SoftLayer Service Description”

Please check out the “3rd Party SoftLayer Terms CentOS” and “3rd

Party Software Terms Nimsoft”

Page 32: IBM Cloud SoftLayer Introduction & Hands-on 2016

32Page© 2016 IBM Corporation

Order Virtual Server Instance (11/13)

Please set “Hostname” and “Domain name”

Ex) userXX.softlayer.com

Please click the “Submit Order”

Page 33: IBM Cloud SoftLayer Introduction & Hands-on 2016

33Page© 2016 IBM Corporation

Order Virtual Server Instance (12/13)

Please check out the Totals cost

Page 34: IBM Cloud SoftLayer Introduction & Hands-on 2016

34Page© 2016 IBM Corporation

Order Virtual Server Instance (13/13)

Page 35: IBM Cloud SoftLayer Introduction & Hands-on 2016

35Page© 2016 IBM Corporation

Confirm Virtual Server Instance (1/3)Please click the [Devices] ->

[Device List]

Please click the ▶ to show the

details.

Page 36: IBM Cloud SoftLayer Introduction & Hands-on 2016

36Page© 2016 IBM Corporation

Confirm Virtual Server Instance (2/3)

Please check the “Show Password” box

Page 37: IBM Cloud SoftLayer Introduction & Hands-on 2016

37Page© 2016 IBM Corporation

Confirm Virtual Server Instance (3/3)

Please check out the Password

Please check out the “Public IP”

Page 38: IBM Cloud SoftLayer Introduction & Hands-on 2016

38Page© 2016 IBM Corporation

Login to your server & Update machineLogin to your server via SSH and as root. Run following command to update your VSI.

$ ssh [email protected] authenticity of host '161.202.227.205 (161.202.227.205)' can't be established.RSA key fingerprint is SHA256:GEK5r8Ha3oJq7w02zBybwzX4JLQjIPzsQZtIIJIvtOM.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '161.202.227.205' (RSA) to the list of known [email protected]'s password:

Our first step should be to update the VSI. Run following command to update your VSI.# yum update

Page 39: IBM Cloud SoftLayer Introduction & Hands-on 2016

39Page© 2016 IBM Corporation

Install Apache & MySQL & PHPRun following commands to install Apache on your VSI.

# yum install httpd# service httpd start

MySQL server will ask MySQL server root password. Since you just installed mysql, there is no MySQL root password. So, just press enter. Create MySQL root password and complete the installation.

# yum install mysql-server# service mysqld start# /usr/bin/mysql_secure_installation

After installing Apache and MySQL, we will install PHP. Run following commands# yum install php php-mysql# service httpd restart

Auto start Apache and MySQL on reboot# chkconfig httpd on# chkconfig mysqld on

Page 40: IBM Cloud SoftLayer Introduction & Hands-on 2016

40Page© 2016 IBM Corporation

Create a database for wordpress# mysql -u root -p

Enter your MySQL root password.

mysql> CREATE DATABASE wp1;Now we will create a database name wp1

mysql> CREATE USER user00@localhost;Create a database user userXX

mysql> SET PASSWORD FOR user00@localhost= PASSWORD(”password");

Set the password for the MySQL user userXX. I am using password as password. You can use different password. Please use a strong password.

mysql> GRANT ALL PRIVILEGES ON wp1.* TO userXX@localhost IDENTIFIED BY ’password';

Grant privileges to user userXX to database wp1

mysql> FLUSH PRIVILEGES;refresh MySQL

mysql> exitExit MySQL

Page 41: IBM Cloud SoftLayer Introduction & Hands-on 2016

41Page© 2016 IBM Corporation

Configure Apache for WordPress Permalink

# vi /etc/httpd/conf/httpd.confOpen Apache configuration file in vi editor.

Search following line in this file. In section <Directory “/var/www/html”> find and Change this to:

# AllowOverride controls what directives may be placed in .htaccess files.# It can be "All", "None", or any combination of the keywords:# Options FileInfo AuthConfig Limit# AllowOverride All

# AllowOverride controls what directives may be placed in .htaccess files.# It can be "All", "None", or any combination of the keywords:# Options FileInfo AuthConfig Limit# AllowOverride none

# service httpd restartrestart httpd service

Page 42: IBM Cloud SoftLayer Introduction & Hands-on 2016

42Page© 2016 IBM Corporation

Download WordPress

# cd /var/www/html/# wget http://wordpress.org/latest.tar.gz# tar -xzvf latest.tar.gz# mv wordpress/*#. chown -R apache:apache /var/www/html/

Download and extract WordPress files.

Page 43: IBM Cloud SoftLayer Introduction & Hands-on 2016

43Page© 2016 IBM Corporation

Install WordPress (1/5)Please select the language “English (United States)”

http://<Public IP Address>/

Please click [Continue]

Page 44: IBM Cloud SoftLayer Introduction & Hands-on 2016

44Page© 2016 IBM Corporation

Install WordPress (2/5)

Please click [Let’s go!]

Page 45: IBM Cloud SoftLayer Introduction & Hands-on 2016

45Page© 2016 IBM Corporation

Install WordPress (3/5)

Page 46: IBM Cloud SoftLayer Introduction & Hands-on 2016

46Page© 2016 IBM Corporation

Install WordPress (4/5)

Page 47: IBM Cloud SoftLayer Introduction & Hands-on 2016

47Page© 2016 IBM Corporation

Install WordPress (5/5)

Please click [Log in] to Wordpress

Page 48: IBM Cloud SoftLayer Introduction & Hands-on 2016

48Page© 2016 IBM Corporation

Configure WordPress (1/5)

Please Log in Wordpress

Page 49: IBM Cloud SoftLayer Introduction & Hands-on 2016

49Page© 2016 IBM Corporation

Configure WordPress (2/5)

Please click [Customize Your Site]

Page 50: IBM Cloud SoftLayer Introduction & Hands-on 2016

50Page© 2016 IBM Corporation

Configure WordPress (3/5)

Please select your theme

Page 51: IBM Cloud SoftLayer Introduction & Hands-on 2016

51Page© 2016 IBM Corporation

Configure WordPress (4/5)

Please select your title

Page 52: IBM Cloud SoftLayer Introduction & Hands-on 2016

52Page© 2016 IBM Corporation

Configure WordPress (5/5)

Page 53: IBM Cloud SoftLayer Introduction & Hands-on 2016

53Page© 2016 IBM Corporation

(Option) Setting Firewall Sample

*filter-A INPUT -s 10.0.0.0/8 -j ACCEPT-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT-A INPUT -p icmp -j ACCEPT-A INPUT -i lo -j ACCEPT-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT-A INPUT -s 0.0.0.0/0 -d 0.0.0.0/0 -p all -j REJECTCOMMIT

Create /etc/sysconfig/iptables as below

# service iptables restartRestart iptables service

Page 54: IBM Cloud SoftLayer Introduction & Hands-on 2016

54Page© 2016 IBM Corporation

Expand your System

User

UserPublic VLAN

UserPrivate VLAN

Internet

SoftLayerPrivate VLAN

SoftLayerPublic VLAN

PatchRepository

SSL VPNPPTP

IP Sec VPN

PoP

SoftLayer NTP ServerDNS Server

Internet

Admin

DC

SSL VPN

CDNNetwork

Internet

SoftLayerWAN

Bare metal Server

Public VLANPrivate VLAN

Load BalancerFirewall

SoftLayer Segment

Storage

SSL VPN

SoftLayer WAN  

Virtual Server

Icons

R1 Soft Backup Server

BackupSAN Disk

Apache/PHP

TOK02

MySQL

Page 56: IBM Cloud SoftLayer Introduction & Hands-on 2016

56Page© 2016 IBM Corporation

IBM Cloud