Summary of "Day-3 | EC2 Deep Dive | Deploy Jenkins on AWS | Available in 1080P Quality | Project | #aws #devops"

Short summary

EC2 deep dive + hands-on Jenkins deployment from the “AWS Zero to Hero” series (presenter: Abhishek). Covers EC2 core concepts, when to use EC2, regions/AZs, networking basics, and a practical step-by-step to launch an EC2 instance and install Jenkins.

Key concepts (theory)

What is EC2?

Why use EC2 instead of self-hosted servers?

EC2 instance families (overview)

Regions and Availability Zones (AZs)

Networking basics

Practical guide — Create EC2 and deploy Jenkins

Follow these high-level steps to launch an EC2 instance and install Jenkins.

  1. Launch instance from AWS Console

    • Go to EC2 → Launch Instance.
    • Name the instance and choose an AMI/OS (pick a free-tier-eligible AMI if applicable).
    • Choose an instance type. Free-tier example: t2.micro (1 vCPU, 1 GB RAM; free-tier limit: 750 hours/month).
  2. Create and download a key pair

    • Save the .pem file securely. Do not share the private key.
  3. Connect to the instance

    • On Linux/macOS set permissions and SSH:
      • chmod 600 AWS_login.pem
      • ssh -i AWS_login.pem ubuntu@<public-ip>
    • On Windows use PuTTY (convert .pem to .ppk) or MobaXterm.
  4. Wait until instance state is running and get the public IP to access it externally.

  5. Inside the instance

    • Update packages:
      • sudo apt update
    • Install Java (Jenkins prerequisite):
      • sudo apt install openjdk-11-jdk
  6. Install Jenkins

    • Follow the official Jenkins repository installation steps for Ubuntu.
    • Start/verify the service:
      • sudo systemctl status jenkins
    • Jenkins default port: 8080.
  7. Adjust security group rules

    • Add an inbound rule to allow TCP port 8080 (and ensure SSH port 22 is open only for your IP).
    • Avoid using overly permissive rules like 0.0.0.0/0 unless necessary.
  8. Access Jenkins

    • Open in browser: http://<public-ip>:8080
    • Use the initial admin password from:
      • /var/lib/jenkins/secrets/initialAdminPassword
  9. Clean up

    • Stop or terminate instances after use to avoid ongoing charges.

Commands / operations (examples)

Security & cost notes

Tip: Always double-check security group rules and billing dashboard after experiments.

Tools & references

Future topics in the series

Presenter / sources

Category ?

Technology


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video