
Explore the aws global infrastructure by examining datacenters, regions, availability zones, and edge locations, and learn how regions contain multiple availability zones with at least three zones.
Explore how AWS regions isolate data centers and how availability zones within each region enable high availability and rapid failover across global infrastructure.
Explore AWS local zones, an extension of regions that brings core services closer to urban centers for low-latency access and data residency compliance.
Understand how edge locations and points of presence power global content delivery, routing requests to the nearest location, caching data, and enabling services like CloudFront to reduce latency.
Plan for failures by leveraging the global AWS infrastructure to build high-availability architectures with S3 redundancy across availability zones, and Multi-AZ databases for automatic failover.
Explore Amazon EC2, the foundation for many AWS services, and learn to deploy and configure EC2 instances, set storage and IP addresses, and understand pricing models.
Discover computing as a service and why scalable compute capacity matters for web servers, batch work, database, HR software, and machine learning, with AWS EC2 and containers or serverless options.
Explore Amazon EC2, a secure, resizable IaaS compute service that provisions EC2 instances with configurable CPU, memory, storage, and network, using security groups to build scalable multi-tier architectures.
Explore Amazon EC2 pricing models, on-demand, spot, and compute saving plans, EC2 instance saving plans, SageMaker savings plans, plus reserved capacity and dedicated hosts.
Explore Amazon EC2 instance types to tailor CPU, memory, storage, and networking by family and size, following naming conventions for generation and attributes to match workloads.
Master Amazon machine images (AMI) to launch EC2 instances with root and additional volumes and EBS snapshots. Understand regional scope, cross-region copy, and launch templates for auto scaling groups.
Navigate the Amazon EC2 console to monitor resources, alarms, service health, and billing while launching instances and exploring instance types, volumes, security groups, and the EC2 global view.
Launch an Amazon EC2 Linux instance by selecting the region, choosing an AMI, configuring instance type and key pair, and setting up network, storage, and security groups.
Explore advanced EC2 Linux launch options, including domain join with AWS Directory Service and IAM instance profiles. Learn hostname types, automatic recovery, termination and stop protections, and CloudWatch monitoring.
Learn advanced Amazon EC2 launch options, including T instance cpu credit modes (standard and unlimited), placement groups, EBS optimization, and metadata settings, then launch and manage the instance.
Connect to a linux ec2 instance using browser-based ssh or putty, with the instance's public ip, ec2-user, and a key pair; verify with uname -r and df.
Launch a Windows Server EC2 instance using a Windows AMI, configure a security group for RDP 3389, and connect via RDP by decrypting the password with the key pair.
Learn how Amazon EC2 performs automated status checks, distinguishes system and instance health, and uses CloudWatch alarms to stop an instance when CPU utilization exceeds 80%.
Learn how EC2 user data runs boot-time scripts to install services, while metadata reveals instance details like private and public IPv4 addresses.
Launch two EC2 instances, Windows and Linux, apply user data to install and start a web server, configure HTTP access, and verify the pages via public IP and DNS.
Master advanced ec2 instance management, including start, stop, hibernate, terminate, and instance type changes with termination protection. Configure networks, security groups, iam roles, and launch templates, plus cloudwatch monitoring.
Learn how EC2 key pairs use public and private keys in asymmetric cryptography to secure login, including Linux SSH and Windows password decryption across regions.
Explore placement groups in AWS EC2, including cluster, partition, and spread types, to optimize low latency, fault tolerance, and distributed workloads by controlling instance hardware placement.
Explore how EC2 instances access AWS services using access keys and IAM roles via instance profiles, compare security implications, and learn to grant permissions without storing credentials.
Contrast access keys and IAM roles for EC2 to access S3, use a read-only least-privilege IAM role, attach to the instance, and delete credentials after use.
Understand EC2 architecture and resilience across availability zones, including shared versus dedicated hosts, instance stores, and EBS integration. Identify when EC2 suits traditional, long-running, server-style workloads and disaster recovery needs.
Understand amazon ec2 tenancy, especially shared tenancy—the default where multiple organizations share a physical host and availability zone. Benefit from reduced costs and simpler deployment.
Understand dedicated hosts vs dedicated instances on EC2, including licensing, compliance, and cost. See how dedicated hosts lock to fixed hardware, while dedicated instances share hardware within your account.
Launch dedicated hosts and dedicated instances on AWS, detailing tenancy options, automatic placement, host recovery, and macOS on Mac mini hardware with Mac two metal.
Connect to a macOS EC2 instance, install and start VNC, set the EC2 user password for VNC login, then terminate the EC2 instance and release the dedicated host when finished.
Explore the three amazon ec2 network adapters—eni, ena, and efa—and learn how instances connect to multiple subnets in the same availability zone, with private IPs and sometimes public IPs.
Create and attach elastic network interfaces (ENIs) to EC2 instances, view interface details in VPC subnets and availability zones, and manage elastic IPs, detach, and delete ENIs.
Leverage enhanced networking with the Elastic Network Adapter and SR-IOV to boost bandwidth, lower latency, and reduce CPU usage while ensuring OS support.
Understand public, private, and elastic IP addresses in EC2: dynamic public IPs that change on stop, persistent private IPs, and static elastic IPs that can be reassigned for failover.
Learn how network address translation works for EC2 public IPs, where private IPs on instances are translated by the internet gateway to a public or elastic IP.
Learn how to use a bastion host to reach private subnet instances, contrast public vs private subnets, and understand routing tables and internet gateways.
Explore how nat gateways and nat instances enable private EC2s to access the internet via a public subnet and internet gateway. Disable source and destination checks for nat instances.
Explore the EC2 instance life cycle from pending to running, including stopping, restarting, and termination. Learn how hibernation works on EBS-backed instances and review IP retention and recovery options.
Learn how to create, configure, and replicate AMIs across regions, manage snapshots and volumes, control permissions, and launch or deregister AMIs, with an introduction to EC2 Image Builder.
Discover how EC2 Image Builder automates creating and updating secure AMIs and container images, tests them, and distributes them across AWS regions, with shareable image pipelines and recipes.
Create and manage an AMI with EC2 image builder by defining a recipe and image pipeline, adding security updates, Python, and Apache Tomcat, and running a simple boot test.
Learn to create and launch an EC2 instance from an AMI built with EC2 Image Builder, then verify installed software like Python and Apache Tomcat on the instance.
Understand elastic block store (EBS), a persistent block storage for EC2 in an availability zone. Learn about snapshots to S3, AZ limits, multi-attach, and SSD or magnetic volumes.
Tailor storage, performance, and cost by choosing the right Amazon EBS volume type, from GP2/GP3 general purpose to Io2 for IO intensive workloads and ST1/SC1 HDD options.
Create and attach an EBS volume in the AWS console, select the volume type, set capacity and IOPS, attach to an EC2 instance, and expand storage via disk management.
Explore how EBS snapshots back up EBS volumes, store in Amazon S3, and restore as new volumes, using incremental changes to save space and enable cross-region copying.
Learn how to create and manage EBS snapshots for EC2 volumes, including encryption state handling, cross-region copying, sharing permissions, and creating volumes or AMIs from snapshots, with snapshot locking.
Enable default EBS encryption across a region to automatically encrypt new volumes and their snapshots with AWS or customer managed keys, preventing unencrypted volumes.
Encrypt EBS volumes and snapshots to protect data, and share encrypted snapshots only with a customer managed KMS key; unencrypted snapshots expose confidential information.
Copy EBS volumes and snapshots across regions and availability zones, create snapshots, then copy to another region and launch volumes or images to enable cross-region high availability.
Configure the EBS Recycle Bin retention rule to protect EBS snapshots and AMIs, using resource tags to target specific items and recover them within the retention period.
Automate EBS snapshots for EC2 instances with Data Lifecycle Manager, configuring hourly backups, cross-region replication, and retention policies to protect AMIs and volumes at no additional cost.
Launch an EC2 instance with instance store volumes for high-speed, local, ephemeral storage on the same physical host, ideal for temporary data and caches that cannot be moved.
Explore AWS Batch, a fully managed service that runs large-scale batch jobs on a scalable pool of compute resources, with jobs, job definitions, queues, schedulers, and computing environments.
Explore how EC2 auto scaling and elastic load balancing ensure sufficient capacity and distribute incoming connections across instances managed by an auto scaling group, creating elastic and fault resilient applications.
Learn elasticity and scalability in the cloud and how AWS services enable resilient architectures through vertical and horizontal scaling, EC2 auto scaling, and database scaling options.
Explore how elasticity and scalability preserve application uptime during demand changes and maintenance through planned and unplanned failovers. Understand uptime, SLAs, and how AWS supports high availability services.
Protect data against major disasters by storing offsite backups in the cloud, enabling real-time replication, and leveraging AWS Auto Scaling to minimize downtime.
Leverage AWS Auto Scaling to monitor and adjust EC2 capacity behind a load balancer, optimizing costs and performance with min, max, and desired capacity across availability zones for fault tolerance.
Set up a launch template to define EC2 instance configuration for an auto scaling group, including AMI, instance type, VPC, subnet, security groups, and user data.
Create an auto scaling group from a launch template, select the VPC and subnets, configure instance types, a new application load balancer, health checks, and min/max/desired capacity with scaling policies.
Verify that the auto scaling group launches two healthy EC2 instances, registers them behind the elastic load balancer, and serves traffic from both instances.
Manually scale an auto scaling group by adjusting desired capacity within min and max to add or remove instances, enabling horizontal scaling and updating the load balancer and target group.
Explore dynamic scaling policies for autoscaling groups, including target tracking, simple scaling, and step scaling, using CloudWatch metrics like CPU utilization and request counts to automatically adjust capacity.
Demonstrates configuring target-tracking scaling for an auto scaling group, using a 60% CPU target to automatically add or remove instances and maintain capacity from one to four.
Set up simple scaling policies with CloudWatch alarms to scale out above 80% CPU and scale in below 40%, adjusting the Auto Scaling Group.
Configure step-based auto scaling policies that vary instance counts by alarm magnitude, using cpu thresholds to scale out and scale in, while setting min, max, and dynamic step limits.
Learn how scheduled scaling in auto scaling groups preempts predictable load changes by adjusting the desired, min, and max capacity with weekly cron actions for Friday scale-out and Monday scale-in.
Predictive scaling uses machine learning on historical CloudWatch data to forecast capacity with a load metric and a scaling metric, offering forecast only and forecast and scaling modes.
Explore advanced EC2 auto scaling settings, including detaching instances, standby mode, scale-in protection, lifecycle hooks, warm pool, monitoring, and gradual instance refresh with launch templates.
Explore how Amazon EC2 Auto Scaling lifecycle hooks pause instances at pending and terminating states to run scripts, install software, and export logs to CloudWatch with Lambda and EventBridge.
Configure a life cycle hook to intercept EC2 launches and install Apache with a launch template and user data, using an IAM role with autoscaling permissions to continue the launch.
Configure the second lifecycle hook to pause EC2 instances at termination, snapshot their EBS volumes with a Lambda function, and automate via an EventBridge rule and an IAM role.
Create scaling plans in AWS Auto Scaling to coordinate resources—auto scaling groups, database clusters, DynamoDB tables, Elastic Container Services, and spot fleet requests—using dynamic and predictive strategies for availability.
Learn how elastic load balancers distribute user traffic across multiple web servers, enabling high availability and fault tolerance with EC2 auto scaling across multiple availability zones.
Discover how AWS elastic load balancers distribute traffic across EC2 instances, Lambda functions, or containers, using listeners, target groups, rules, health checks, and cross-zone balancing for high availability.
Explore ALB at seventh OSI layer to route HTTP and HTTPS traffic to EC2, IPs, containers, and Lambda, using host header, headers, path, method, query string, and source IP routing.
Configure an application load balancer setup with three WordPress EC2 web servers in separate availability zones, a shared MySQL database in RDS, and a target group to distribute traffic.
Create an EC2 target group for an application load balancer, configure HTTP health checks on port 80, with success code 200, including running instances.
Explore target group attributes for ALB, including deregistration delay, load balancing algorithms (round robin, least outstanding, weighted random), slow start, stickiness, cross-zone load balancing, and health-based failover settings.
Configure an application load balancer (alb) to route traffic to a WordPress target group, enabling multi-az distribution, security groups, and optional AWS services like waf and Global Accelerator.
Verify the ALB alb wp forwards port 80 traffic to three healthy WordPress EC2 targets, then simulate curl requests to observe 200 responses and failover when an instance stops.
Configure an application load balancer to route traffic by source IP, redirecting US users to an alternate page while worldwide users access the WordPress target group.
Configure an application load balancer with three target groups and path-based routing to direct cat and dog image requests to the correct servers, while home page serves the main site.
Explore network load balancers that balance TCP, UDP, and TLS traffic at the transport layer, support SSL offloading, and assign fixed per-zone IPs and elastic IPs for reliable AWS apps.
Configure a network load balancer across two availability zones to route FTP on port 21 to target group one and HTTP on port 80 to target group two.
Configure network load balancer target groups for tcp traffic, enabling ftp on port 21 and tcp on port 80, with health checks, draining, and proxy protocol v2 preserving client IP.
Configure a network load balancer in a VPC and create listeners on ports 21 and 80 for ftp and http target groups.
Compare ALB and NLB by examining health checks (http, https, gRPC), logging via CloudTrail, session stickiness, cross-zone load balancing, and SSL offloading, plus layer 7 vs layer 4 differences.
Explore how the gateway load balancer transparently routes and encapsulates traffic to virtual network appliances for security inspection, using Geneve over UDP port 6081 and health checks.
Learn to configure a production-like network with two VPCs, gateway load balancers, and a network appliance or EC2 test, bastion access, routing, and traffic inspection via Geneve 6081.
Create and configure two VPCs, define subnets with specific IP ranges, attach internet gateways, and prepare for EC2 instances, target group, and gateway load balancer.
Configure and deploy four EC2 instances across dedicated subnets, including bastion hosts, and attach a network appliance to a gateway load balancer with a Geneve target group.
Configure a gateway load balancer endpoint and update routing across VPCs using Private Link, including endpoint service creation, endpoint creation, and edge associations for secure private traffic.
Demonstrates testing the gw-lb scenario: securely copying keys, logging via bastions into application and security vpcs, generating and inspecting traffic with tcpdump and geneve, then cleaning up.
Learn about the classic load balancer, offering http/https load balancing with ssl offloading and fixed sessions. EC2 classic is retired; use application or network load balancers for more features.
Implement a classic load balancer across two availability zones and deploy two EC2 web servers. Configure http listening and verify it distributes traffic to both servers.
Create a dedicated security group for the classic load balancer, attach it to the load balancer and targets, and configure http 80 with health checks across two servers.
Amazon Elastic Compute Cloud (Amazon EC2), is the fundamental building block that every AWS professional should know. That's why in this course on Amazon EC2, ELB and Auto Scaling on AWS I will teach you how to design, deploy and manage scalable and highly available applications on the AWS cloud. You will learn how to optimize the performance and efficiency of your solutions on AWS.
The course is divided into two main sections:
Design, Deployment and Management of Computing Services (EC2): In this section, you will dive into the world of Amazon EC2, learning about the different pricing models, instance types and how to select the right ones for your needs. You'll become familiar with creating and managing Amazon Machine Images (AMIs), launching and managing instances for Linux, Windows and MacOS, and configuring Key Pairs, Placement Groups and instance roles for advanced management.
You will explore networking and connectivity configuration, including elastic network interfaces, IP addressing and NAT. You'll also learn about configuring private subnets and bastion hosts to enhance security. On the storage side, you will learn Amazon Elastic Block Store (EBS), from creating volumes to managing snapshots and cross-region copying. Finally, you will learn best practices for designing resilient and highly available architectures, using dedicated hosts and dedicated instances.
High Availability and Auto Scaling (ELB - EC2 Auto Scaling)
The second section focuses on ensuring that your applications are scalable and highly available. You will start with AWS Auto Scaling, learning how to automatically adjust the capacity of your resources according to demand. You will configure launch templates and Auto Scaling groups, applying manual, dynamic, scheduled and other scaling techniques. You will also learn how to use lifecycle hooks to perform custom actions during the lifecycle of instances and create Auto Scaling plans tailored to your needs.
Then, you will dive into Elastic Load Balancing (ELB), learning how to distribute network traffic across multiple EC2 instances. You will learn about the different types of load balancers (ALB, NLB, GLB and CLB) and how to configure them to optimize the performance and availability of your applications.
This is NOT a boring course of voice and PowerPoint lectures. Here I will discuss and present the material in an interactive and engaging style that will keep you interested and make it easier to understand. Check out the free videos available and you will see the difference!
Join me and start your journey to mastery at AWS today! Transform your cloud computing skills and take your career to the next level.