Additional Info for Docker Engine and Apps on Debian 10

Installation of Docker Engine and other components takes a few minutes after EC2 instance launch. Please proceed to access it only after 5 minutes of launch.

SSH Access

For SSH access see this page for instructions.

Swap Memory

Swap memory has been created with a 1 GB swap file located at /var/myswap.

To know more about managing swap visit this page.

Permissions

Debian user admin that you use for SSH access has also been added to the docker user group to enable running Docker containers directly.

System disk size

EBS volume (system storage disk) is 15 GB to accomodate Docker containers and base OS.

Visit this page to know how to modify EBS volume size should you wish to do so.

Remember to extend the Linux file system after increasing EBS volume size.

Debian 10 Server Administration

To administer Debian 10 Server directly using SSH, refer to this guide.

Working with Docker

To setup your Docker development environment, or start working with Docker images, refer to this guide.

We have enabled the admin user with docker group membership and sudo privileges.

Check if Docker Engine is setup correctly

Before you begin working with Docker images you should check if the Docker Engine is setup correctly.

You can do this by accessing your EC2 instance via SSH and running the following command:

docker run hello-world

To find more Docker apps for your Docker Engine server, visit Docker Hub. Just make sure that your EC2 instance meets the minimum requirements of vCPU, RAM, and EBS storage before you add more apps. Also check if the app you intend to install will use a port that is already in use or that has not yet been opened in the EC2's security group settings.

Setup docker-compose (if needed)

To setup docker-compose run the following commands.

sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

You can verify setup by checking the docker-compose version.

docker-compose --version

Suggested Next Steps

Open Additional Ports for Inbound Traffic

While outbound traffic is open on all ports, we have only enabled inbound SSH access using port 22 for your EC2 instance.

If you need to open any other inbound ports based on your specific deployment needs, you can follow this guide.

Setup DNS records for Domain or Sub-domain

If you intend to use one or more custom domains or sub-domains with your EC2 instance, you should setup an 'A' record in your domain DNS settings pointing to your instance's public IP.

For example, if the custom domain name that you want pointing to your server is paymypage.com then your DNS records should be added as follows:

dns a-record for ec2 instance

To get the public IP for your EC2 instance launched using our service, click here.

If you need to register a custom domain name for the purpose, click here.

Next Steps for Docker Apps (only if they were included in your EC2 launch)

If your instance is not as expected, contact our helpdesk here for clarification.