Setup AWS hosting with Docker
You can easily create a new server for your hosting on Amazon AWS with just a few clicks. In order to use Docker with AWS you need to have an AWS account. Creating an AWS account If you don’t have an
Step 1
Section titled “Step 1”You can easily create a new server for your hosting on Amazon AWS with just a few clicks.
In order to use Docker with AWS you need to have an AWS account.
Creating an AWS account
Section titled “Creating an AWS account”If you don’t have an AWS account yet, go to https://aws.amazon.com/ and create one:
Follow the steps and setup your account.
Section titled “Follow the steps and setup your account.”When you are done setting up your account, log into the AWS Console:
Setting up user and access
Section titled “Setting up user and access”Once you have your AWS account ready you need to setup an user and access keys for it.
Open https://console.aws.amazon.com/ and you will see the AWS console with all the services available. In the search bar type iam and select the IAM service which appears in the search results:
Select Users in the left menu:
Section titled “Select Users in the left menu:”Then select Add user:
Section titled “Then select Add user:”Step 8
Section titled “Step 8”Add a username and select the Access type for your user. We need to select the Programmatic access option here, as it provides the access keys we need for our user. Click Next, when you are done:
Select Attach existing policies directly:
Section titled “Select Attach existing policies directly:”Filter the policies by typing ec2 and select AmazonEC2FullAccess, click Next:
Section titled “Filter the policies by typing ec2 and select AmazonEC2FullAccess, click Next:”And select Create user:
Section titled “And select Create user:”Step 12
Section titled “Step 12”You can see your user has been created. Make sure to copy the Access key ID and the Secret access key for your user, as they will be needed for the Docker machine:
Creating Amazon AWS Docker Machine
Section titled “Creating Amazon AWS Docker Machine”Now as you created your user, let’s setup an Amazon AWS Docker machine.
Create a new target
Section titled “Create a new target”Click the Project Setting button:
Select Targets and click the Add New Target button:
Section titled “Select Targets and click the Add New Target button:”Add a name for your target:
Section titled “Add a name for your target:”Open the Hosting dropdown and select Docker:
Section titled “Open the Hosting dropdown and select Docker:”Then set the Connection to Remote:
Section titled “Then set the Connection to Remote:”And click the Manage button:
Section titled “And click the Manage button:”Create a New Docker Machine
Section titled “Create a New Docker Machine”Click the Add New Docker Machine button:

























