ibm cloud softlayer introduction & hands-on 2016

Post on 15-Apr-2017

548 Views

Category:

Internet

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© 2016 IBM Corporation

29 June, 2016Atsumori SasakiAdvisory ArchitectIBM Cloud Japan

IBM Cloud SoftLayerIntroduction & Hands-on

2Page© 2016 IBM Corporation

Agenda

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

3Page© 2016 IBM Corporation

SoftLayer Overview

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

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

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)

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

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

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

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

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

12Page© 2016 IBM Corporation

Multi-Language Digital Sales

Choose any language you like!

13Page© 2016 IBM Corporation

Customer Portal Demo

14Page© 2016 IBM Corporation

Customer Portal Demo

15Page© 2016 IBM Corporation

SoftLayer Hands-On

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

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!

18Page© 2016 IBM Corporation

Login to Customer Portal Page (1/4)

Please use your username and password.

https://control.softlayer.com/

19Page© 2016 IBM Corporation

Login to Customer Portal Page (2/4)

Please download support policy.

Click “Acknowledge”

20Page© 2016 IBM Corporation

Login to Customer Portal Page (3/4)

Please close first welcome page.

21Page© 2016 IBM Corporation

Login to Customer Portal Page (4/4)

22Page© 2016 IBM Corporation

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

23Page© 2016 IBM Corporation

Order Virtual Server Instance (2/13)

Please select Hourly Virtual Server (public node)

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

25Page© 2016 IBM Corporation

Order Virtual Server Instance (4/13)

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

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)”

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”

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”

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”

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”

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”

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”

33Page© 2016 IBM Corporation

Order Virtual Server Instance (12/13)

Please check out the Totals cost

34Page© 2016 IBM Corporation

Order Virtual Server Instance (13/13)

35Page© 2016 IBM Corporation

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

[Device List]

Please click the ▶ to show the

details.

36Page© 2016 IBM Corporation

Confirm Virtual Server Instance (2/3)

Please check the “Show Password” box

37Page© 2016 IBM Corporation

Confirm Virtual Server Instance (3/3)

Please check out the Password

Please check out the “Public IP”

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 root@161.202.227.205The 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 hosts.root@161.202.227.205's password:

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

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

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

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

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.

43Page© 2016 IBM Corporation

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

http://<Public IP Address>/

Please click [Continue]

44Page© 2016 IBM Corporation

Install WordPress (2/5)

Please click [Let’s go!]

45Page© 2016 IBM Corporation

Install WordPress (3/5)

46Page© 2016 IBM Corporation

Install WordPress (4/5)

47Page© 2016 IBM Corporation

Install WordPress (5/5)

Please click [Log in] to Wordpress

48Page© 2016 IBM Corporation

Configure WordPress (1/5)

Please Log in Wordpress

49Page© 2016 IBM Corporation

Configure WordPress (2/5)

Please click [Customize Your Site]

50Page© 2016 IBM Corporation

Configure WordPress (3/5)

Please select your theme

51Page© 2016 IBM Corporation

Configure WordPress (4/5)

Please select your title

52Page© 2016 IBM Corporation

Configure WordPress (5/5)

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

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

56Page© 2016 IBM Corporation

IBM Cloud

top related