How to install CoreOS on AWS

coreosCoreOS can be installed in various locations, including your own server, Google Compute and more. This article shows you how to install CoreOS on Amazon Web Services.


Create a CoreOS AWS instance

Be warned that once you start a server up, you will start to be charged in accordance with Amazon's pricing structure. This article will attempt to install using the free tier services. Once you've finished with a server instance make sure you terminate the instance to stop being charged.

  1. Go to https://console.aws.amazon.com/ec2/home
    1. You may be required to enter your email address and password and click Sign in using our secure server.
  2. Click the Launch Instance button to start the instance wizard.
  3. Search for CoreOS.
  4. Select the AWS Marketplace tab.
  5. Click the Select button next to Container Linux by CoreOS (stable).
  6. Click Continue.
  7. Select t2.micro (free tier eligible).
  8. Click Next: Configure Instance Details.
  9. Click Next: Add Storage.
  10. Click Next: Add Tags.
  11. Click Next: Configure Security Group.
    1. Choose Select and existing security group.
    2. Select the default group.
  12. Click Review and Launch.
  13. Click Launch.
  14. Use an existing Key Pair if you have one, otherwise enter a name for your key pair (eg. yourName).
    1. Click Create & Download your Key Pair.
    2. Make sure you save the resultant .pem file somewhere safe, you'll need it shortly.
  15. Click Launch Instance.

Run the following command on your downloaded .pem file.

chmod 400 mykeypair.pem

 

Connect

You are now ready to connect to your running instance.

  1. Go to Services > EC2.
  2. Click Instances in the left pane.
  3. Select your newly created instance.
  4. Click Connect to see instructions on how to connect to your instance.

You should run a command similar to the following:

ssh -i /path/to/mykeypair.pem This email address is being protected from spambots. You need JavaScript enabled to view it.

 

Configuration options

Here are the next steps towards accessing your newly created instance.

 

You are now ready to make some initial configuration settings.

 

Thanks for visiting.