Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 704 Bytes

setting-up-ec2-for-docker.md

File metadata and controls

28 lines (15 loc) · 704 Bytes

Setting up EC2 instance

  • Add ssh keys to .ssh/autohorized_keys for standard user ubuntu
  • Install docker (see below)
  • Install SSL certificates (see below)

Install docker and setup a swarm

First Install docker-ce

Then initialize the swarm

sudo docker swarm init

Install SSL certificates using certbot

Use the instructions from certbot

Use the certonlysubcommand

As the mail address for notifications, use [email protected]

Add HTTP2.0 capability by following these instructions.