Amazon docker

From Do you speak Drupalish? Featured Drupal wiki-like documentation
Jump to: navigation, search

ToDo

Setup

network

traffic

Amazon EC2 Container Registry

Sign Up for AWS

  • When you sign up for AWS, your AWS account is automatically signed up for all services, including Amazon EC2 and Amazon ECS. You are charged only for the services that you use. more

Create an IAM User

  • However, we don't recommend that you acce Management (IAM) instead.
  • Create group EC2 full access

Create a Key Pair

  • AWS uses public-key cryptography to secure the login information for your instance. A Linux instance, such as an Amazon ECS container instance, has no password;
  • From the navigation bar, select a region for the key pair. You can select any region that's available to you, regardless of your location: however, key pairs are specific to a region.
    • The private key file is automatically downloaded by your browser. The base file name is the name you specified as the name of your key pair, and the file name extension is .pem. Save the private key file in a safe place.
  • Optional) To prepare to connect to a Linux instance from Windows using PuTTY putty gen Connecting to Your Linux Instance from Windows Using PuTTY

Create a Virtual Private Cloud

  • Already setup?

Create a Security Group

  • Ip restrict
  • Your instances may be accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses only.
    • You can also open additional ports in your security group to facilitate access to the application or service you're running, e.g., HTTP (80) for web servers. Edit security groups
  • Can also setup into iptables rules

Install the AWS CLI

Getting Started with Amazon EC2 Linux Instances

install docker

performance

  • even small instance works nice