movable type for aws starter guide (en)

42
Movable Type for AWS Starter Guide Six Apart, Ltd. Ver. 1.1 http://www.sixapart.jp/ 16114日木曜日

Upload: six-apart-kk

Post on 14-Apr-2017

8.085 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Movable Type for AWS Starter Guide (en)

Movable Type for AWSStarter Guide

Six Apart, Ltd.Ver. 1.1

http://www.sixapart.jp/

16年1月14日木曜日

Page 2: Movable Type for AWS Starter Guide (en)

Sign in to AWS

Select a Region

Create the VPC

Launch EC2 Instance

Allocate and Assign an Elastic IP address

Install Movable Type

16年1月14日木曜日

Page 3: Movable Type for AWS Starter Guide (en)

Sign in to AWS

16年1月14日木曜日

Page 4: Movable Type for AWS Starter Guide (en)

 Sign in to AWS

1. Enter your Amazon.com account information, and click the ”Sing in using our secure server”.

2. If you don’t have an Amazon.com account, select ”I am a new user.” to create a new account.

16年1月14日木曜日

Page 5: Movable Type for AWS Starter Guide (en)

Select a Region

16年1月14日木曜日

Page 6: Movable Type for AWS Starter Guide (en)

 Select a Region

1. Select a region you’d like to use from the menu at the upper-right corner of the screen.

16年1月14日木曜日

Page 7: Movable Type for AWS Starter Guide (en)

Create VPC

16年1月14日木曜日

Page 8: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. Click the “VPC” from the list of services.

16年1月14日木曜日

Page 9: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. Click “Start VPC Wizard” button on VPC Dashboard.

16年1月14日木曜日

Page 10: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. Select “VPC with a Simple Public Subnet”, and click ”Select”.

16年1月14日木曜日

Page 11: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. Enter the form as follows.

IP CIDR block: example → 10.0.0.0/16VPC name: not necessarily requiredAvailability Zone: your arbitrary zone

2. Click “Create VPC”.

16年1月14日木曜日

Page 12: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. VPC has been created!

16年1月14日木曜日

Page 13: Movable Type for AWS Starter Guide (en)

 Create the VPC

1. Click “Your VPCs” in the navigation pane, you can see the list of VPCs

16年1月14日木曜日

Page 14: Movable Type for AWS Starter Guide (en)

Launch EC2 Instance

16年1月14日木曜日

Page 15: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Go to EC2 Dashboard.

2. Click ”Launch Instance”.

16年1月14日木曜日

Page 16: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Select “AWS Marketplace” tab

2. Enter "Movable Type 6" in order to find the Movable Type AMI packages.

16年1月14日木曜日

Page 17: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. You can see three packages of “Movable Type 6” in the result page.

2. Select a package according to the Web Server you would like to use.

nginx

Movable Type 6 (HVM, nginx)

Movable Type 6 (PV, nginx)

Apache

Movable Type 6 (HVM, Apache)

16年1月14日木曜日

Page 18: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Click “Continue” at the bottom of the page.

16年1月14日木曜日

Page 19: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Select an instance type. “m3.medium” is

selected in the default.In the Apache edition, "t2.micro" and "t1.micro" are not selectable

because Apache requires memory than nginx. If you would like to use

micro instance, please select a nginx edition.

2. Click ”Next: Configure InstanceDetails”.

16年1月14日木曜日

Page 20: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. In "Network" field, select the VPC you've just created.

2. In "Subnet" field, select the public subnet which made with a new VPC.

3. Other fields, you can change to any if needed.

4. Click “Next: Add Storage”.

16年1月14日木曜日

Page 21: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Enter the storage size, and select a volume type. In most cases, do not need to change.

2. Click “Next: Tag Instance”.

16年1月14日木曜日

Page 22: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Set the value to "Name" for tagging, it is convenient to manage later.

2. Clic “Next: Configure Security Group”.

16年1月14日木曜日

Page 23: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. The recommended security groups (SSH, HTTP) are set in default. Change or add rules as needed.

2. Click “Review and Launch”.

16年1月14日木曜日

Page 24: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Your instance details are displayed, so review them all.

2. Click “Launch”.

16年1月14日木曜日

Page 25: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. If you already have a key pair, choose from an existing key pair.* How to create a new key pair can be found in the following page.

2. Put check on the checkbox.

3. Click ”Launch Instance”.

16年1月14日木曜日

Page 26: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. If you don’t have a key pair, choose ”Create a new key pair”.

2. Enter any name in the”Key pair name” field and click ”Download Key Pair”.

3. Click “Launch Instances”.

16年1月14日木曜日

Page 27: Movable Type for AWS Starter Guide (en)

 Launch EC2 Instance

1. Click “View Instance” , you can see the created instance.

16年1月14日木曜日

Page 28: Movable Type for AWS Starter Guide (en)

Allocate and Assign an Elastic IP

16年1月14日木曜日

Page 29: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. Select “Elastic IPs” in the navigation pane.

2. Click “Allocate New Address”.

16年1月14日木曜日

Page 30: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. Select “VPC”、and click ”Yes, Allocate”.

16年1月14日木曜日

Page 31: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. Select the Elastic IP address from the list, and then clik “Associate Address”.

16年1月14日木曜日

Page 32: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. In the dialog box, choose Instance from the list, and then click “Yes, Associate”.

16年1月14日木曜日

Page 33: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. Select “Instances” in the navigation pane, you can see that the Elastic IP address is associated with the instance.

16年1月14日木曜日

Page 34: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

ssh -i <Key Pair File Name> ec2-user@<IP Address>

1. Let’s try to connect to the EC2 server with the Elastic IP by ssh.

2. Launch the terminal and type the command at the bottom of this page.* <Key Pair File Name> and <IP Address> should be replaced with yours.

16年1月14日木曜日

Page 35: Movable Type for AWS Starter Guide (en)

 Allocate and Assign an Elastic IP address

1. Access from your browser with the Elastic IP address.

2. Welcome screen of Movable Type is displayed.

16年1月14日木曜日

Page 36: Movable Type for AWS Starter Guide (en)

Install Movable Type

16年1月14日木曜日

Page 37: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. Start installation on Movable Type by clicking “Start Movable Type” in the welcome screen.

16年1月14日木曜日

Page 38: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. Enter your EC2 Instance ID to “Instance ID”, and then click “Continue”.

16年1月14日木曜日

Page 39: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. Enter your account information to the form.

Username (ID for sign-in)Display NameEmail AddressUser this as system email addressLanguagePassword

2. Click “Continue” when you’re done.

16年1月14日木曜日

Page 40: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. Enter the first website information to the form.

Website NameWebsite URL (Elastic IP or domain)Website RootThemeTime zone

2. Click “Finish Install” when you’re done.

16年1月14日木曜日

Page 41: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. Click “Sign in to Movable Type” after you’ve finished installation.

16年1月14日木曜日

Page 42: Movable Type for AWS Starter Guide (en)

 Install Movable Type

1. User’s dashboard is displayed when you signed in.

2. Now you can use Movable Type!

16年1月14日木曜日