Installing Docker on AWS EC2

You can easily install Docker on the AWS EC2 instance. Let's connect the EC2 instance using PuTTY. In this section, we will install Docker on the EC2 instance. Follow these steps to install Docker:

  1. Let's run the EC2 instance and generate a private key using PuTTYgen. You have to load the dineshonjava.pem file that we generated in the previous section. It will generate the dineshonjava.ppk file. It will be used to connect the EC2 instance using Putty.
  1. Open Putty and connect to the EC2 instance. In Host Name, use Public DNS to connect this EC2 instance and port 22. Also, load the private key file for authentication. In the category section, go to Connection | SSH | Auth and upload the private key file for authentication, ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.