aws cheat sheets guide

IP Blocking: Use AWS WAF or NACL?

2023-08-14T02:45:24+00:00

What should you do if you identified a series of malicious attacks on your application coming from a specific IP address? Will you use AWS WAF to block that IP address or create a rule in your Network Access Control List to deny traffic from that IP? It is true that AWS WAF can filter web requests based on IP addresses, HTTP headers, HTTP body, or URI strings, to block common attack patterns, such as SQL injection or cross-site scripting. NACL, on the other hand, acts like a firewall for controlling traffic in and out of your subnets. If the [...]

IP Blocking: Use AWS WAF or NACL?2023-08-14T02:45:24+00:00

Instrumenting your Application with AWS X-Ray

2023-08-14T02:52:58+00:00

Bookmarks Instrumenting your Node.js application Instrumenting your Java application Instrumenting your C# .Net application Instrumenting your Python application Instrumenting your Go application Instrumenting your Node.js application The AWS X-Ray SDK for Node.js provides middleware that you can use to instrument incoming HTTP requests. You need to add the SDK to your application’s dependencies, usually via package.json. Initialize the SDK client and add it to your application prior to declaring routes. var AWSXRay = require('aws-xray-sdk'); AWSXRay.setDaemonAddress('host:port'); app.use(AWSXRay.express.openSegment('MyApp'));       3. Lastly, use the SDK exceptions after declaring routes. app.get('/', function (req, res) [...]

Instrumenting your Application with AWS X-Ray2023-08-14T02:52:58+00:00

Kinesis Scaling, Resharding and Parallel Processing

2023-03-20T03:29:22+00:00

Kinesis Resharding enables you to increase or decrease the number of shards in a stream in order to adapt to changes in the rate of data flowing through the stream. Resharding is always pairwise. You cannot split into more than two shards in a single operation, and you cannot merge more than two shards in a single operation. The Kinesis Client Library (KCL) tracks the shards in the stream using an Amazon DynamoDB table, and adapts to changes in the number of shards that result from resharding. When new shards are created as a result of resharding, the KCL discovers [...]

Kinesis Scaling, Resharding and Parallel Processing2023-03-20T03:29:22+00:00

DynamoDB Scan vs Query

2023-01-30T13:33:00+00:00

Scan The Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index. The total number of scanned items has a maximum size limit of 1 MB. Scan operations proceed sequentially; however, for faster performance on a large table or secondary index, applications can request a parallel Scan operation. Scan uses eventually consistent reads when accessing the data in a table; therefore, the result set might not include the changes to data in the table immediately before the operation began. If you need a consistent copy of the data, as [...]

DynamoDB Scan vs Query2023-01-30T13:33:00+00:00

Amazon MQ

2023-07-25T09:15:44+00:00

Bookmarks Features Brokers Configuration Security and Monitoring Pricing Amazon MQ Cheat Sheet AWS offering for a managed message broker service for Apache ActiveMQ. Message brokers allow different software systems–often using different programming languages, and on different platforms–to communicate and exchange information. Amazon MQ also supports RabbitMQ, a popular open-source message broker. Migrate your existing RabbitMQ message brokers to AWS without having to rewrite code. Features Amazon MQ uses industry-standard APIs and protocols for messaging, including Java Message Service (JMS), .NET Message Service (NMS), AMQP, STOMP, MQTT, OpenWire, and WebSocket. Amazon MQ manages [...]

Amazon MQ2023-07-25T09:15:44+00:00

AWS Directory Service

2024-01-18T07:34:11+00:00

Bookmarks Concepts Active Directory Schema Features Security and Monitoring Pricing Active Directory Connector Simple AD Amazon Cloud Directory AWS Directory Service Cheat Sheet For Microsoft Active Directory Also known as AWS Managed Microsoft AD, the service enables your directory-aware workloads and AWS resources to use managed Active Directory in the AWS Cloud. The service is built on actual Microsoft Active Directory and powered by Windows Server 2012 R2. AWS Managed Microsoft AD is your best choice if you need actual Active Directory features to support AWS applications or Windows [...]

AWS Directory Service2024-01-18T07:34:11+00:00

AWS X-Ray

2024-04-12T00:27:57+00:00

Bookmarks Concepts Features How X-Ray Works Pricing AWS X-Ray-related Cheat Sheets Validate Your Knowledge AWS X-Ray Cheat Sheet AWS X-Ray analyzes and debugs production, distributed applications, such as those built using a microservices architecture. With X-Ray, you can identify performance bottlenecks, edge case errors, and other hard to detect issues. Concepts A segment provides the name of the compute resources running your application logic, details about the request sent by your application, and details about the work done. A segment can break down the data about the work done into subsegments. [...]

AWS X-Ray2024-04-12T00:27:57+00:00

AWS Step Functions

2023-06-27T02:16:31+00:00

Bookmarks Concepts Features Standard vs. Express Workflow How Step Functions Work Common Use Cases AWS Step Functions Cheat Sheet AWS Step Functions is a web service that provides serverless orchestration for modern applications. It enables you to coordinate the components of distributed applications and microservices using visual workflows. Concepts Step Functions are based on the concepts of tasks and state machines. A task performs work by using an activity or an AWS Lambda function, or by passing parameters to the API actions of other services. A finite state machine can express an [...]

AWS Step Functions2023-06-27T02:16:31+00:00

AWS CodeBuild

2023-06-23T08:16:06+00:00

Bookmarks Concepts Features Monitoring and Security Pricing Additional Training Materials: AWS CodeBuild Video Courses on Udemy AWS CodeBuild Cheat Sheet A fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy. Concepts A build project defines how CodeBuild will run a build. It includes information such as where to get the source code, which build environment to use, the build commands to run, and where to store the build output. A build environment is the combination of operating system, programming language runtime, [...]

AWS CodeBuild2023-06-23T08:16:06+00:00

AWS CodeDeploy

2024-01-18T07:54:34+00:00

Bookmarks Concepts Features Monitoring Pricing AWS CodeDeploy-related Cheat Sheets: Validate Your Knowledge AWS CodeDeploy Cheat Sheet A fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers. Concepts An Application is a name that uniquely identifies the application you want to deploy. CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment. Compute platform is the platform on which [...]

AWS CodeDeploy2024-01-18T07:54:34+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!