
Discover what EC2 is and how to use on-demand Linux instances, security groups, CIDR networking, and EBS volumes. Build a distributed, auto-scaling, load-balanced application with cost-savings through optimized launch modes.
Paula Deshon, a software engineer, mobile developer, and cloud practitioner, teaches scalable applications and serves as instructor for this Amazon EC2 Masterclass, inviting you to connect on GitHub or LinkedIn.
Explore three-part coverage of Amazon EC2 basics, intermediate topics like choosing instance types and configuring network security, and advanced concepts including load balancers, auto scaling, and EBS data persistence.
Uncover the basics of EC2, elastic compute cloud, as infrastructure as a service with instances, EBS storage, and components like load balancers and auto scaling.
Launch your first EC2 instance running Linux using the AWS management console. Choose Amazon Linux 2 and t2 micro, create a key pair, and configure security.
Learn to ssh into an ec2 instance from linux or macos using the public ip and port 22, and configure security group inbound rules to allow access.
Learn to connect to EC2 instances using instance connect in the AWS console, a quick web-based SSH option accessed via the connect tab with the instance's public IP.
Understand EC2 pricing across regions, instance types, and models (on-demand, spot, reserved, dedicated). Stop unused instances to avoid charges; calculate costs by hourly or per-second rates with a 60-second minimum.
Explore how custom AMIs, built from base images and preinstalled software, enable faster boot, security control, and seamless deployments across regions using public, private, marketplace, and community AMIs.
Explore a Java 8 application overview that demonstrates endpoints like hello world, cpu Fibonacci up to 10,000, ram management, health checks, and request details to illustrate building scalable services.
Discover how AMIs are stored in S3 behind private buckets, a durable, cheap, and resilient storage for backups, kept private by default and optionally shared or sold on the marketplace.
Amazon S3 pricing in us east (n. virginia): about $0.023/gb for the first 50 tb, $0.022/gb for up to 450 tb, and $0.021/gb for larger usage.
Understand RAM, its role as non-persistent hot memory, how it speeds data access, and the impact of swapping to disk on performance, with examples like dictionaries and Spark.
Explore how the central processing unit drives computations in EC2, uncovering how cores and frequency affect performance, how to monitor per-core usage with top, and common myths about CPU capacity.
Learn how input/output (IO) affects disk reads and writes, latency, and IOPS in EC2 deployments, with examples from databases, apps, and monitoring performance.
Choose general purpose instances for a balanced ram, cpu, network, and io. They offer reliable performance at a reasonable price and are a proven starting point.
Explore burstable t family instances that deliver baseline cpu performance while permitting bursts with credits. Monitor cpu credit usage and balance to handle spikes and optimize cost.
Evaluate EC2 instance types to find the best fit for your application using a practical map. Read the documentation and monitor performance over time to balance cost.
Learn how security groups act as firewalls for EC2, regulating inbound and outbound traffic using port, protocol, and IP range rules (IPv4/IPv6) to control access.
Master hands-on security groups in EC2 by creating inbound and outbound rules, configuring SSH access, and using CIDR ranges to control who can reach a Java application.
Learn to reference other security groups in EC2 inbound rules for cross-instance access. Explore self-referencing groups and hands-on scenarios with two instances and load balancer use cases.
Learn how elastic IPs provide a fixed public IP you own, attach to one instance at a time, and rapidly remap to another instance to keep your app accessible.
Explore placement groups to control instance placement strategies, including cluster, spread, and partition, and learn how each affects latency, availability, and failure isolation across availability zones.
Learn how a load balancer forwards traffic to multiple EC2 instances, conducts health checks, enables SSL termination and cookie stickiness, and provides high availability across zones.
Configure and test health checks for AWS load balancer using a /health endpoint and http 200 responses to identify healthy instances, deregister unhealthy ones, and route traffic to healthy servers.
Learn how application load balancer v2 routes traffic to multiple target groups and applications, with path, host, query string, and header routing, plus http2 and web socket support.
Learn how auto scaling in EC2 automatically scales out and in with a scaling group and load balancer to match traffic, using minimum, desired, and maximum sizes.
Explore dynamic and predictive autoscaling policies for EC2, including target tracking, simple step, and scheduled actions, plus cooldown management and metrics like CPU, request count per target, and network I/O.
Save on costs by using auto scaling, which is free and charges only for the two created instances. Review cloud watch pricing, the free tier with up to 50 metrics.
Explore the EBS volume types gp2, io1, io2, sd1, and c1, and how size, IOPS, and throughput drive diverse workloads. Apply use cases for boot volumes and high-throughput data workloads.
Create and attach an EBS volume to an EC2 instance, format it with ext4, mount it, and verify that it persists at reboot via fstab.
Resize the ebs volume to a larger size, then ssh into the instance and extend the file system with resize2fs. Verify the new capacity with df -h.
Create an ebs snapshot to back up a volume and restore it as a new volume in another az, with options to resize and change the volume type.
Explore how EBS pricing appears on the pricing page, including the free tier with 30 GB storage and 1 GB snapshot storage, and gp2 costs at about $0.15 per GB-month.
Reserve EC2 instances deliver up to 72% savings versus on-demand and offer capacity in a specific availability zone, with flexible family and tenancy changes, convertible options, and scheduled instances.
Learn how to reserve an Amazon EC2 instance using reserved instances, choose platform options such as convertible, select an instance type, and set upfront terms before adding to cart.
Explore EC2 savings plans and save 72% by committing to long term usage, such as $10 per hour for one or three years, with excess usage billed on demand.
Discover EC2 spot instances, discounted by spare capacity, with two minutes’ termination notice. Use for web apps, containerized services, image rendering, and big data analytics, not for critical workloads.
Explore a hands-on workflow for spot instance requests, configuring target capacity, placement with capacity optimize, and estimating savings versus on-demand.
Clean up cloud resources by detaching and deleting images, volumes, load balancers, target groups, lunch configurations, instances, snapshots, and security groups to prevent costs.
AWS EC2 is the fundamental core component that every AWS Professional should know about.
If you know nothing about EC2 or feel you could learn more, this course is for you!
I guarantee you'll learn something on EC2 you wish you knew all this time.
In this course, we will explore in-depth, with hands-on lectures, all the components of Amazon EC2, including the most recent components such as Application Load Balancer and newer options for Auto Scaling!
In just a few hours, you will know everything you need to know about EC2 and seamlessly deploy your applications in the best possible way, with the optimal configuration, resiliency, and cost-efficiency.
In this course, we will put all the concepts learned into action using the Course Companion Application. This application mimics what a real-life application would look like and expose excellent behavior for learning!
---------------------------------
Amazon EC2 Master Class is the best way to get an excellent overview of all the possibilities offered by AWS EC2:
> Learn EC2 and master all its concepts
> Go through Hands-On examples to practice what we learned with the companion course app
> Learn how to choose the best EC2 Instance Type for your application and workload
> Learn how to use the newer Application Load Balancers properly
> Learn how to use the newer policies for Auto Scaling properly
> Get a great understanding of advanced rules in Security Groups for optimal security
> So much more!
Note: This course assumes you have some knowledge about Linux, and we will not be using Windows EC2 instances.
Section outline:
AWS EC2 Course Introduction: Get an understanding of the course objectives and how the course is structured, download the course code, and get ready!
Amazon EC2 Basics: Learn the basics of EC2, such as instances, SSH, Security Groups, Private vs. Public IPv4, EC2 User Data, and EC2 Pricing
EC2 Machine Images (AMI): Learn about AMIs, and build your custom AMI for this course that will have our course application ready to go!
Choosing the right EC2 Instance Type: Learn valuable knowledge to choose the best EC2 Instance for your application. Learn how CPU, RAM, Network, IO, and GPU are used in typical applications. Learn about M, T2 instances, and T2 Unlimited. This section is priceless!
Network and Security in EC2: Learn how to create your perfect security group, properly leveraging CIDR and IP ranges, Security Group to Security Group rules, Elastic IP, and EC2 placement groups.
Elastic Load Balancing (ELB): Learn the fundamental concepts behind Load Balancing in AWS EC2. Learn about the three kinds of load balancers available in Amazon EC2, and set them up correctly in hands-on lectures.
Auto Scaling Groups (ASG): Setup an Auto Scaling Group directly linked to our Application Load Balancer. Observe manual scaling behavior. Setup and Configure Auto Scaling for our application using the old and new policies.
EBS (Elastic Block Stores): Learn what EBS is, its benefits, and the various types of drives you have access to in AWS. Learn how to create, attach, resize, and snapshot your EBS drives.
EC2 Running Modes (cost-saving): Learn the differences between the four running modes of EC2: On-Demand, Reserved Instances, Spot Instances, and Dedicated Hosts.
---------------------------------
Instructor
My name is Paulo Dichone, and I will be your instructor for this course. I’ve taught over 200,000 students online and have helped thousands of online learners like yourself learn about Software engineering and the Cloud.
With AWS becoming much more than a buzzword, I've decided it's time for students to learn how to become an AWS EC2 Expert properly. So, let’s kick start the course! You are in good hands!
---------------------------------
This course also comes with:
Lifetime access to all future updates
A responsive instructor in the Q&A Section
Udemy Certificate of Completion Ready for Download
A 30-Day "No Questions Asked" Money Back Guarantee!
Join me in this course if you want to learn AutoScaling, AWS Load Balancing, EBS Volume, Network, VPC Security Group, EC2 Instance Types, and master the AWS platform!