Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 each ONLY!

Compute Related Notes

Home » AWS Cheat Sheets » AWS Compute Services » Compute Related Notes

Logging Using awslogs Log Driver in Amazon ECS

2023-05-02T05:18:52+00:00

Monitoring and logging can be as important as developing and deploying applications. Imagine managing an enterprise-level distributed application that runs on hundreds of containers. You must place your containers cleverly on instances to achieve a certain level of resilience and performance. On top of that, you would want to have visibility into CPU and memory usage so you’ll have an idea which task/tasks are resource-hungry at a given time. You may also want to check the disk space of your instance and see if you still have enough storage for your application. Fortunately, monitoring distributed applications hosted in AWS has [...]

Logging Using awslogs Log Driver in Amazon ECS2023-05-02T05:18:52+00:00

ECS Network Modes Comparison

2023-06-02T03:02:15+00:00

Amazon Elastic Container Service (ECS) allows you to run Docker-based containers on the cloud. Amazon ECS has two launch types for operation: EC2 and Fargate. The EC2 launch type provides EC2 instances as hosts for your Docker containers. For the Fargate launch type, AWS manages the underlying hosts so you can focus on managing your containers instead. The details and configuration on how you want to run your containers are defined on the ECS Task Definition which includes options on networking mode.  In this post, we’ll talk about the different networking modes supported by Amazon ECS and determine which mode [...]

ECS Network Modes Comparison2023-06-02T03:02:15+00:00

Configuring Notifications for Amazon EC2 Auto Scaling Lifecycle Hooks

2023-06-03T05:15:48+00:00

Auto Scaling Lifecycle Hooks In the previous post, we talked about Auto Scaling Lifecycle Hooks and how to configure it on your Auto Scaling group. You can view the article here. It’s better to read it first before proceeding with this section. In a nutshell, Auto Scaling Lifecycle Hooks allow you to put an instance in the “wait” state while the Auto Scaling group responds to a scale-out or scale-in event. While the instance is in the “wait” state, you perform actions such as installing the application before allowing traffic to the instance or sending out the application logs to [...]

Configuring Notifications for Amazon EC2 Auto Scaling Lifecycle Hooks2023-06-03T05:15:48+00:00

Step Scaling vs Simple Scaling Policies vs Target Tracking Policies in Amazon EC2

2023-06-23T05:27:39+00:00

Bookmarks Simple Scaling  Target Tracking Step Scaling  Creating a Step Scaling Policy for an Auto Scaling Group Amazon’s EC2 Auto Scaling provides an effective way to ensure that your infrastructure is able to dynamically respond to changing user demands. For example, to accommodate a sudden traffic increase on your web application, you can set your Auto Scaling group to automatically add more instances. And when traffic is low, have it automatically reduce the number of instances. This is a cost-effective solution since it only provisions EC2 instances when you need them. EC2 Auto [...]

Step Scaling vs Simple Scaling Policies vs Target Tracking Policies in Amazon EC22023-06-23T05:27:39+00:00

Amazon EC2 Auto Scaling Lifecycle Hooks

2023-06-05T02:08:11+00:00

Bookmarks Auto Scaling Lifecycle Hooks Configure Lifecycle Hooks on your Auto Scaling Groups Amazon EC2 Auto Scaling allows you to scale-out or scale-in your EC2 instances automatically based on policies you configured in response to changing demand on your application. Auto Scaling Groups lets you set a minimum and maximum number of EC2 instances to automatically resize your cluster based on a defined schedule or instance metrics such as CPU utilization, network traffic, etc. This is an excellent way to cut costs and make sure you have the correct number of instances since traffic on [...]

Amazon EC2 Auto Scaling Lifecycle Hooks2023-06-05T02:08:11+00:00

Elastic Fabric Adapter (EFA)

2023-06-23T05:53:26+00:00

Bookmarks Limitations Pricing Elastic Fabric Adapter (EFA) Cheat Sheet An Elastic Fabric Adapter (EFA) is a network device that you can attach to your Amazon EC2 instance to accelerate High Performance Computing (HPC) and machine learning applications. An EFA is an Elastic Network Adapter (ENA) with an additional OS-bypass functionality.  How It Works EFA integrates with  Libfabric 1.9.0 and it supports Open MPI 4.0.2 and Intel MPI 2019 Update 6 for HPC applications, and  Nvidia Collective Communications Library (NCCL) for machine learning applications. With an EFA, HPC applications use Intel Message Passing Interface (MPI) or [...]

Elastic Fabric Adapter (EFA)2023-06-23T05:53:26+00:00

ECS Task Placement Strategies

2023-02-17T06:36:28+00:00

A task placement strategy is an algorithm for selecting instances for task placement or tasks for termination. When a task that uses the EC2 launch type is launched, Amazon ECS must determine where to place the task based on the requirements specified in the task definition, such as CPU and memory. Similarly, when you scale down the task count, Amazon ECS must determine which tasks to terminate.  A task placement constraint is a rule that is considered during task placement. You can use constraints to place tasks based on Availability Zone or instance type.  You can also associate attributes, which [...]

ECS Task Placement Strategies2023-02-17T06:36:28+00:00

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!