AWS Cheat Sheets

/AWS Cheat Sheets

AWS Secrets Manager vs Systems Manager Parameter Store


AWS Secrets Manager vs Systems Manager Parameter Store Managing the security of your applications is an integral part of any organization especially for infrastructures deployed in the cloud. One aspect of application security is how the parameters such as environment variables, database passwords, API keys, product keys, etc. are stored and retrieved. As a best practice, secret information should not be stored in plain text and not be embedded inside your source code. It is also recommended to set up an automated system to rotate passwords or keys regularly (which is easy to forget when you manage keys manually). Managing [...]

AWS Secrets Manager vs Systems Manager Parameter Store2020-07-08T03:02:55+00:00

Global Secondary Index vs Local Secondary Index


Global Secondary Index vs Local Secondary Index A secondary index is a data structure that contains a subset of attributes from a table, along with an alternate key to support Query operations. An Amazon DynamoDB table can have multiple secondary indexes.   Global secondary index Local secondary index Definition An index with a partition key and a sort key that can be different from those on the base table. An index that has the same partition key as the base table, but a different sort key. Span of query Queries on the index can span all of the data in [...]

Global Secondary Index vs Local Secondary Index2020-07-04T10:06:42+00:00

Step Scaling vs Simple Scaling Policies in Amazon EC2


Step Scaling vs Simple Scaling Policies in Amazon EC2 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 Scaling provides you with several dynamic scaling policies to control the scale-in and scale-out events. [...]

Step Scaling vs Simple Scaling Policies in Amazon EC22020-06-23T03:49:44+00:00

Amazon EC2 Auto Scaling Lifecycle Hooks


Amazon EC2 Auto Scaling Lifecycle Hooks 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 your application fluctuates throughout the day. Auto Scaling Lifecycle Hooks As your [...]

Amazon EC2 Auto Scaling Lifecycle Hooks2020-06-18T04:28:22+00:00

AWS Global Accelerator vs Amazon CloudFront


AWS Global Accelerator vs Amazon CloudFront In this day and age, your site speed performance is an important factor when it comes to user experience. It is widely recommended for websites to have an average load time of 3 seconds as users tend to abandon the site if a page takes longer than 3 seconds to load. According to Amazon, just 100 milliseconds of extra load time cost them 1% in sales. Indeed, every second counts in our fast-paced digital world. Amazon Web Services has always been the global leader in Cloud Computing with its speed, performance, and reliability. With [...]

AWS Global Accelerator vs Amazon CloudFront2020-06-16T08:27:11+00:00

AWS Support Plans


AWS Support Plans With hundreds of services and features, AWS provides a combination of various tools, technologies, programs and human resources to proactively help their customers. AWS offers various support plans that customers can choose from based on their needs. AWS has 4 different Support Plans: Basic Developer Business Enterprise The Basic Support plan is already available to all AWS customers by default and is free of charge. It also offers support for account and billing questions including requests for service limit increases. This AWS Support type includes the following: Customer Service & Communities - You have 24x7 access to [...]

AWS Support Plans2020-06-10T07:18:53+00:00

AWS CodeCommit Repository


AWS CodeCommit Repository Amazon Web Services, with its ever-growing breadth of services, offers a fully-managed version control system where developers can privately store their application source code like Github or Bitbucket. CodeCommit can be used as a staging ground coupled with CodeDeploy and CodePipeline to seamlessly deploy code to Amazon EC2 instances.  In this article, I will discuss how we can leverage Amazon SNS to send notifications whenever there are events in our repository. This is particularly useful when we need to keep our work colleagues up-to-date if there are events in our repository. Triggers are used for two things. [...]

AWS CodeCommit Repository2020-06-09T05:40:52+00:00

AWS Transit Gateway


AWS Transit Gateway A networking service that uses a hub and spoke model to enable customers to connect their on-premises data centers and their Amazon Virtual Private Clouds (VPCs) to a single gateway. With this service, customers only have to create and manage a single connection from the central gateway into each on-premises data center, remote office, or VPC across your network. If a new VPC is created, it is automatically connected to the Transit Gateway and will also be available to every other network that is also connected to the Transit Gateway. Features: Inter-region peering  Transit Gateway leverages the [...]

AWS Transit Gateway2020-05-15T06:18:06+00:00

Locking your Glacier Vault using the Amazon S3 Glacier API


Locking your Glacier Vault using the Amazon S3 Glacier API What is Amazon S3 Glacier Vault Lock A Glacier Vault can be described as a container for your archived objects in S3 Glacier. To begin using Amazon S3 Glacier, you need a vault. Creating and deleting vaults can be easily done in the AWS Management Console, but interacting with them requires you to use the APIs. For example, let’s say you want to upload images or log files to your vault. To do so, you would either use the AWS CLI or write code that would upload these objects. Large [...]

Locking your Glacier Vault using the Amazon S3 Glacier API2020-05-14T12:55:35+00:00

Amazon S3 Bucket Policies for VPC Endpoints


Amazon S3 Bucket Policies for VPC Endpoints Amazon S3 and Amazon VPC Relationship Amazon S3 is a versatile object storage solution that boasts virtually unlimited storage capacity. You can expect that your files will be durably stored in S3 given that AWS provides an SLA for this service. When creating your S3 bucket, AWS provides you with a unique bucket URL that you can use to access your S3 bucket directly from the public internet, if you have public access enabled.  Amazon S3 is a service that is not used within a VPC. This means that traffic does not pass [...]

Amazon S3 Bucket Policies for VPC Endpoints2020-05-14T12:55:42+00:00
error: Content is protected !!