KUSANAGI for AWS Business Edition


KUSANAGI for AWS Business Edition is an AWS ready version of KUSANAGI, the ultra-fast, high-security WordPress virtual machine.

KUSANAGI Business Edition Page
KUSANAGI Business Edition

KUSANAGI for AWS Business Edition on AWS Marketplace is here:
KUSANAGI for AWS Business Edition

How to use KUSANAGI for AWS

This guide assumes you have an account with AWS and are able to access the AWS Marketplace and AWS Management Console.

1. Create an instance (VM) from AWS Marketplace

Install instructions by AWS Management Console is here.

1-1. Access to AWS Marketplace.
KUSANAGI for AWS Business Edition Page

1-2. Select “Continue to Subscribe” button.

1-3. Select “Continue to Configuration” button.

1-4. Choose a region and select “Continue to Launch” button.

1-5. Chose a type of instance. Our recommendation instance is “t3.medium” (Memory 4Gib. KUSANAGI recommends over 4Gib memory).

1-6. Create new based On Seller Settings. Add the name your security Group name and the Description.

1-7. Create a key pair in EC2.

Access to the EC2 console and select “Create Key Pair”

1-8. Select “Launch” button.

2. Obtain the virtual machine image

Obtain the image for KUSANAGI for AWS from AWS Marketplace and make it ready for use on Amazon Web Services.

* AWS Marketplace is an online store for finding and purchasing software and services that can be executed on AWS. KUSANAGI for AWS is available on AWS Marketplace.

2-1. Browse AWS Marketplace

You can browse AWS Marketplace from the Management Console.

aws02

Once you log in you will see the above screen. Click “EC2”.

aws03

Click “Launch Instance”.

“Step 1: Choose an Amazon Machine Image (AMI)” screen will display.

2-2. Select an image

aws04

  1. On the left menu click on “AWS Marketplace”.
  2. Search for “kusanagi”.
  3. Confirm that KUSANAGI for AWS appears and click “Select” on the right.

aws05

The product details for  will display. Click “Continue” on the bottom right.

2-3. Step 2: Choose an Instance Type

You will select the instance type you will use for your selected virtual machine image.

aws06

  1. From Type, select t2.medium.
    * KUSANAGI requires at least 4GB of memory so we suggest t2.medium.
  2. On the bottom right, click “Next: Configure Instance Details”.

2-4. Step 3: Configure Instance Details

aws07

Click “Next: Add Storage”.

2-5. Step 4: Add Storage

aws08

Click “Next: Tag Instance”.

2-6. Step 5: Tag Instance

aws09

Click “Next: Configure Security Group”.

2-7. Step 6: Configure Security Group

aws10a

In order to strengthen security, change the SSH port source (port range of 22) to My IP, and you can designate the IP address you are currently using.

※If current connection Ip address specifics in range, leave SSH port source to custom settings in CIDR. Add SSH rules in My IP in case of you couldn’t specific the range. Delete it after you done.


Select HTTPS by add rules and save to available to shows in SSH.

aws10b

Click “Review and Launch”.

2-8. Step 7: Review Instance Launch

aws11

Confirm all the details then click “Launch” on the bottom right.

2-9. Create and download a key pair

When you click on “Launch”, the key pair window will display.

aws12

Select “Create a new key pair”, and enter any name for it. Then click “Download Key Pair”.

Confirm that your key pair has been downloaded successfully and click “Launch Instances”.

The creation of your virtual machine image is now complete.

3. Activate virtual machine

The activation of your virtual machine will begin.

a. Displaying your instance

aws13

The “Launch Status” screen will be displayed so click “View Instances” when it appears.

aws14

Once the status has changed to “2/2 checks passed” the creation of your instance is complete. If you click on your new instance, on the bottom of your screen you can see various details. Make note of the Public DNS and the Public IP.

4. Elastic (static IP) settings

4-1. Assign an Elastic IP Address to Your Instance. Click[Elastic IP]and click [Assign New Elastic IP Address] in Amazon Website Services management console menu to assign an Elastic IP Address to your Instance.

4-2. Click [Action] pull down’s and select [Access to Address]to assign an Elastic IP Address to your instance by instance log.

5. Log in to the virtual machine and prepare for initialization

Below we will explain how to log in to your virtual machine in preparation for initialization.

a. Log in to your virtual machine

aws15

Using an SSH client such as Poderosa or other terminal software, log in to your virtual machine.
The host name is your Public DNS or Public IP. The account is “centos”, and the authentication type is “Public key”. In “Key file”, please upload your key pair that was downloaded earlier.

Once the login is successful, the following screen will display.

b. Switch to the root user

Enter the following to switch to the root user.

$ sudo su -

Check that you are the root user.

[root@<hostname> ~]#

If the command prompt ends in # you have successfully switched to the root user.

For instructions on initialization please see the following guide.

5. WordPress launch setting on initial setting

5-1. With the selected instance selected, check the instance information on the bottom of the page. Confirm and copy “Public IP.”

 

5-2. Pasting public IP on the Browser and access “https://[IPv4 Public IP]/setup.php”.

5-3. Go back to the AWS management screen again and copy the Instance ID of the instance information at the bottom of the page.

5-4. Paste the copied “Instance ID” in the input field displayed by the browser. Click “Send”.

5-5. Enter the FQDN. Click “Send”.

5-6. Waiting a few minutes to set up KUSANAGI.

5-8. Access to the “FQDN”, then WordPress will start installing.

Please check the following documents for the steps after installing WordPress.
WordPress install

6. Logging in to the virtual machine and initial setting (reference information)

6-1. With the instance selected, check the instance information at the bottom of the page. Use “public DNS” or “public IP”.

1_25

6-2. Log-in to the virtual machine with SSH. Use “public DNS” or “public IP” as the hostname to connect, and set the user name to “centos”. The authentication method is “public key”, and for the key file, use the downloaded file (“kusanagi_aws.pem” here).

1_26

When the login is successful, the following screen will be displayed.

1_27

7. Log in to the virtual machine and prepare for initialization

Below we will explain how to log in to your virtual machine in preparation for initialization.

a. Log in to your virtual machine

aws15

Using an SSH client such as Poderosa or other terminal software, log in to your virtual machine.
The hostname is your Public DNS or Public IP. The account is “centos”, and the authentication type is “Public key”. In “Key file”, please upload your key pair that was downloaded earlier.

Once the login is successful, the following screen will display.


7-1. Switch to the root user
Enter the following to switch to the root user.

$ sudo su -

Check that you are the root user.

[root@<hostname> ~]#

If the command prompt ends in # you have successfully switched to the root user.

For instructions on initialization please see the following guide.