A beginner’s DevOps guide to install and run Jenkins using Docker on AWS EC2 Ubuntu instance.

Note that this guide is explaining how to install Jenkins on an AWS EC2 Ubuntu instance for the development environment only.
This is NOT a production setup guide.Prerequisites:
AWS account, sign up here — AWS Console — Signup (amazon.com).Jenkins — an open source automation server which enables developers around the world to reliably build, test, and deploy their software — jenkins.io.
In order to run Jenkins on an EC2 instance with Docker, you need to follow the next steps: