<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jully Achenchi</title>
    <description>The latest articles on DEV Community by Jully Achenchi (@achenchi).</description>
    <link>https://dev.to/achenchi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1541079%2F48a8e84c-f83c-4f09-bedc-f456aab4780a.jpg</url>
      <title>DEV Community: Jully Achenchi</title>
      <link>https://dev.to/achenchi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/achenchi"/>
    <language>en</language>
    <item>
      <title>30 days of AWS - Part 6: AWS Security</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Fri, 19 Jul 2024 14:18:25 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-6-aws-security-13pe</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-6-aws-security-13pe</guid>
      <description>&lt;p&gt;Ever heard of the saying, "A group is only as good as its weakest link?" So it goes security in the cloud. Your workloads are only as good as the security measures put around it.&lt;/p&gt;

&lt;p&gt;Cloud security is a pillar of AWS. Under the shared responsibility model, AWS is responsible for the security &lt;strong&gt;of&lt;/strong&gt; the cloud, and the customers are responsible for the security &lt;strong&gt;in&lt;/strong&gt; the cloud.&lt;/p&gt;

&lt;p&gt;In this module, we'll look at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Identity and Access Management (IAM)&lt;/li&gt;
&lt;li&gt;AWS shared responsibility model&lt;/li&gt;
&lt;li&gt;Securing a new AWS account&lt;/li&gt;
&lt;li&gt;Securing data on AWS&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AWS Shared responsibility model
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;AWS&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Operates, manages, and controls the components from the software virtualization layer to the physical security of the facilities where AWS services operate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS is responsible for protecting the infrastructure that runs all the services offered in AWS cloud. This is composed of the hardware, software, networking, and facilities that run the services.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Customer&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Responsible for the encryption of data at rest and in transit.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Responsible for the management of security credentials and logins. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Responsible for the configuration of security groups and configuration of the operating system that runs on compute instances that they launch.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AWS Identity and Access Management (IAM)
&lt;/h2&gt;

&lt;p&gt;AWS IAM is a service/tool that lets you define individual user accounts with permissions across AWS resources. Such permissions include: launching, configuring, managing, and terminating resources.&lt;/p&gt;

&lt;p&gt;IAM is a feature of your AWS account and it is offered at no additional charge.&lt;/p&gt;

&lt;h4&gt;
  
  
  Essential components of IAM
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;IAM User&lt;/strong&gt; - A person or application that is defined in an AWS account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IAM Group&lt;/strong&gt; - A collection of IAM users. IAM groups are used to simplify and manage permissions to multiple users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IAM Policy&lt;/strong&gt; - A document that defines permissions to determine what users can do in the AWS account. It is written in JSON format.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IAM Role&lt;/strong&gt; - It is a tool for granting temporary access to specific AWS resources in an AWS account.&lt;/p&gt;

&lt;h3&gt;
  
  
  Authentication and Authorization
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt;&lt;br&gt;
Authentication refers to proving your identity as a user to a system.&lt;br&gt;
IAM users can be granted 1 of 2 types of access:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;a. Programmatic access&lt;/strong&gt;&lt;br&gt;
Authentication is done using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Access Key ID&lt;/li&gt;
&lt;li&gt;Secret access key&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;b. AWS Management console&lt;/strong&gt;&lt;br&gt;
Authentication is done using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;12-digit account ID or alias&lt;/li&gt;
&lt;li&gt;IAM User name&lt;/li&gt;
&lt;li&gt;IAM password&lt;/li&gt;
&lt;li&gt;If MFA is enabled, you'll be prompted to provide the MFA code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Authorization&lt;/strong&gt;&lt;br&gt;
The process of determining what permissions a user, service, or application should be granted. This is achieved through the policies you have attached to a user or group.&lt;/p&gt;

&lt;p&gt;By default, IAM users do not have permission to access any resources or data in an AWS account. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The principle of least privilege&lt;/strong&gt; is a concept in computer security that promotes that you grant only the minimal user privileges needed to the user(s) based on need.&lt;/p&gt;

&lt;h4&gt;
  
  
  IAM Policies
&lt;/h4&gt;

&lt;p&gt;IAM policies are of two types:&lt;br&gt;
&lt;strong&gt;- Identity-based policies&lt;/strong&gt; - Policies that you attach to a user, group, or role&lt;br&gt;
&lt;strong&gt;- Resource-based policy&lt;/strong&gt; - Policies that you attach to a resource such as an S3 bucket.&lt;/p&gt;

&lt;h2&gt;
  
  
  Securing a new AWS Account: Account Root User
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Best practices
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Stop using the account root user as soon as possible&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;After creating a new AWS account, navigate to the IAM service and create an IAM user as yourself with AWS management console access enabled. Save the IAM access key and secret access key if needed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create an IAM group and give it full administration access. Add the created IAM user to the group.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Disable and remove your account root user access keys if they exist.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sign in to your account using the IAM credentials.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Enable Multi-factor Authentication&lt;/strong&gt;&lt;br&gt;
This is an additional layer of security to your AWS account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Use AWS CloudTrail&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;CloudTrail is a service that tracks user activity on your account.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Basic AWS CloudTrail event History is enabled by default at no cost.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Enable a billing report, such as the Cost and Usage report&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Billing reports provide information about your use of AWS resources and estimated costs for that use.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS delivers these reports to an S3 bucket of your choice.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Securing data on AWS
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Encryption of data at rest
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Data encryption&lt;/strong&gt; - Taking data that is legible and encoding it so that it is unreadable to anyone who does not have access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data at rest&lt;/strong&gt; is data that is physically stored on disk or on tape.&lt;/p&gt;

&lt;h3&gt;
  
  
  Encryption of data in transit
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Data in transit&lt;/strong&gt; is data moving across a network.&lt;/p&gt;

&lt;p&gt;Encryption of data in transit is accomplished by using Transport Layer Security (TLS), which was formerly known as Secure Sockets Layer (SSL).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TLS/SSL&lt;/strong&gt; - Certificates that are used to secure network communications and establish the identity of websites over the internet, and also resources on a private network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AWS certificate manager&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A service that enables you to provision, manage, and deploy SSL to TLS certificates &lt;/li&gt;
&lt;li&gt;It also handles certificate renewals.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cloudsecurity</category>
      <category>awschallenge</category>
      <category>cloud</category>
      <category>iam</category>
    </item>
    <item>
      <title>30 days of AWS - Part 5: AWS Databases</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Fri, 19 Jul 2024 11:53:45 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-5-aws-databases-9b2</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-5-aws-databases-9b2</guid>
      <description>&lt;p&gt;&lt;strong&gt;Welcome to part 5 of 8 of the 30 days of AWS challenge&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt;- A collection of data that is stored digitally and can be accessed digitally.&lt;/p&gt;

&lt;p&gt;AWS offers a wide range of Databases that a customer can choose from depending on their use case(s). AWS database services can be classified into two categories: &lt;strong&gt;Relational databases&lt;/strong&gt; and &lt;strong&gt;non-relational databases.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Relational Databases
&lt;/h2&gt;

&lt;p&gt;Relational databases work with structured data that is organized by tables, records, and columns.&lt;/p&gt;

&lt;p&gt;Relational databases use Structured Query Language (SQL).&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Amazon Relational Database Service (AWS RDS)
&lt;/h3&gt;

&lt;p&gt;Amazon RDS is the major relational database offered by AWS. &lt;br&gt;
It is a fully managed service.&lt;br&gt;
&lt;strong&gt;Definition of managed&lt;/strong&gt; - Scaling, fault tolerance, and availability are built into the service.&lt;/p&gt;

&lt;p&gt;Under the shared responsibility model, AWS is responsible for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OS installations and patches&lt;/li&gt;
&lt;li&gt;Database software installation and patches&lt;/li&gt;
&lt;li&gt;Database backups&lt;/li&gt;
&lt;li&gt;Scalability&lt;/li&gt;
&lt;li&gt;High availability&lt;/li&gt;
&lt;li&gt;Racking and stacking of servers&lt;/li&gt;
&lt;li&gt;Server maintenance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The customer is responsible for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Application optimization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon RDS supports the following 6 database engines: &lt;strong&gt;MySQL, Amazon Aurora, Microsoft SQL Server, PostgreSQL, MariaDB, and Oracle.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Features of Amazon RDS for Disaster Recovery
&lt;/h3&gt;

&lt;h4&gt;
  
  
  a. High availability with Multi-AZ deployment
&lt;/h4&gt;

&lt;p&gt;This is one of the powerful features of Amazon RDS. The customer can configure their database(s) instance(s) for high availability with Multi-AZ deployment.&lt;/p&gt;

&lt;p&gt;Once configured, Amazon RDS automatically generates a standby copy of the db instance in another Availability Zone within the same VPC.&lt;/p&gt;

&lt;p&gt;After seeding (the process of uploading data that is already present in your main DB instance) the database copy, transactions are synchronously replicated to the standby copy.&lt;/p&gt;

&lt;p&gt;In the event of failure of the main database instance in a Multi-AZ deployment, Amazon RDS automatically brings the standby database instance online as the new main instance.&lt;/p&gt;

&lt;p&gt;Here's the basic architecture of the RDS multi-AZ deployment:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpbty47tbvrunxg0um0qx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpbty47tbvrunxg0um0qx.png" alt="RDS Multi-AZ deployment" width="800" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  b. Amazon RDS read replicas
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Read Replica&lt;/strong&gt; - Operates as a database instance that allows only read-only connections&lt;/p&gt;

&lt;p&gt;Amazon RDS supports the creation of read replicas for MySQL, MariaDB, PostgreSQL, and Amazon Aurora.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features of read replicas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Offers asynchronous replication&lt;/li&gt;
&lt;li&gt;A read replica can be promoted to a primary DB instance if need be.&lt;/li&gt;
&lt;li&gt;Read replicas can be created in a different region than the primary database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;When to use read replicas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is used for read-heavy database workloads&lt;/li&gt;
&lt;li&gt;It is used to offload read queries&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Use cases of Amazon RDS
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Web and Mobile applications&lt;/strong&gt; - It is suitable for applications that need a database with high throughput, massive storage scalability, and high availability.&lt;br&gt;
&lt;strong&gt;2. E-commerce applications&lt;/strong&gt; - For small and large e-commerce businesses, Amazon RDS offers a flexible, secure, and low-cost database solution for online sales and retailing.&lt;br&gt;
&lt;strong&gt;3. Mobile and online games&lt;/strong&gt; - Amazon RDS provides a platform with high throughput and availability.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Amazon Redshift
&lt;/h3&gt;

&lt;p&gt;It is a fast, fully managed data warehouse that makes it simple and cost-effective to analyze all your data using standard SQL and existing Business Intelligence (BI) tools.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Amazon Aurora
&lt;/h3&gt;

&lt;p&gt;Amazon Aurora is a MySQL and PostgreSQL relational database built for the cloud.&lt;/p&gt;

&lt;p&gt;Amazon Aurora is a managed service.&lt;/p&gt;

&lt;p&gt;Aurora is designed to automate time-consuming tasks like provisioning, patching, backup, recovery, failure detection, and repair.&lt;/p&gt;

&lt;p&gt;Amazon Aurora is designed to be highly available: it stores copies of data in multiple AZs with continuous backups to Amazon S3.&lt;/p&gt;

&lt;h2&gt;
  
  
  Non-Relational Databases
&lt;/h2&gt;

&lt;p&gt;A non-relational database is any database that does not follow the relational model that is provided by the relational database management systems.&lt;/p&gt;

&lt;p&gt;Non-relational databases were developed to overcome the limitations of relational databases in handling variably structured data.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Amazon DynamoDB
&lt;/h3&gt;

&lt;p&gt;DynamoDB is a fast and flexible fully managed NoSQL database service for all applications that need consistent single-digit millisecond latency.&lt;/p&gt;

&lt;p&gt;With Amazon DynamoDB, you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create tables and items&lt;/li&gt;
&lt;li&gt;Add items to the table&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The system automatically partitions your data and has table storage to meet workload requirements.&lt;/p&gt;

&lt;p&gt;There is no practical limit to the number of items that you can store in a table.&lt;/p&gt;

&lt;h4&gt;
  
  
  Use cases of Amazon DynamoDB
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;a. Social media applications&lt;/strong&gt; - Community-based applications, such as online gaming, and photo-sharing apps, have unpredictable usage patterns with the potential to go viral anytime. The elasticity and flexibility of Amazon DynamoDb make it suitable for such high-volume, variable workloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;b.Serverless applications&lt;/strong&gt; - DynamoDB provides a durable backend for storing data at any scale. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;c. High volume special events&lt;/strong&gt; - Such as electoral campaigns that are of relatively short duration and have variable workloads. Amazon DynamoDB lets you increase and decrease capacity as needed&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Amazon DocumentDB
&lt;/h3&gt;

&lt;p&gt;It is a fully managed document database service.&lt;/p&gt;

&lt;p&gt;It is scalable, highly available, and compatible with MongoDB.&lt;/p&gt;

&lt;p&gt;With it, you can store, index, and query JSON files.&lt;/p&gt;

&lt;h4&gt;
  
  
  Use cases of DocumentDB
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Content and catalog management&lt;/strong&gt; - This includes online publications, point-of-sale terminals, and digital archives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Profile management&lt;/strong&gt; - This includes user preferences, authentication profiles, and online transactions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other Non-relational databases offered by AWS include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon ElastiCache&lt;/strong&gt; - It is a fully managed, in-memory data store. This service improves the performance of web applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Neptune&lt;/strong&gt; - It is a fully managed graph database service.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>awschallenge</category>
      <category>awsdatabases</category>
      <category>rds</category>
      <category>cloud</category>
    </item>
    <item>
      <title>30 days of AWS - Part 3: AWS Well-Architected Framework</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Tue, 02 Jul 2024 18:56:01 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-3-aws-well-architected-framework-8c0</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-3-aws-well-architected-framework-8c0</guid>
      <description>&lt;h2&gt;
  
  
  Definition
&lt;/h2&gt;

&lt;p&gt;To put it simply, the AWS well-architected framework is a &lt;strong&gt;collection of best practices and guidelines&lt;/strong&gt; for designing and operating reliable, secure, efficient, and cost-effective systems in the cloud.&lt;/p&gt;

&lt;p&gt;It is built upon 6 pillars. Namely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security&lt;/li&gt;
&lt;li&gt;Cost optimization&lt;/li&gt;
&lt;li&gt;Operational excellence&lt;/li&gt;
&lt;li&gt;Reliability&lt;/li&gt;
&lt;li&gt;Efficiency&lt;/li&gt;
&lt;li&gt;Sustainability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Acronym to remember it by: S-C-O-R-E-S&lt;/p&gt;

&lt;h2&gt;
  
  
  Operational Excellence
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt; - Run and monitor systems to deliver business value. Continually improve and support processes and procedures.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Topics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automating changes&lt;/li&gt;
&lt;li&gt;Responding to events&lt;/li&gt;
&lt;li&gt;Defining standards to maintain daily operations&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design  Principles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Perform operations as code&lt;/strong&gt;- Define the entire workload as code and update it with code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make frequent, small, reversible changes&lt;/strong&gt;- Design workloads that can be updated regularly. Make provision for reversible changes in small increments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refine operations procedures frequently&lt;/strong&gt;- Look for opportunities to improve operations procedures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anticipate failure&lt;/strong&gt;- Identify potential failure sources so they can be removed or mitigated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learn from all operational failures&lt;/strong&gt;-Drive improvement through lessons learnt from all operational events and failures. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Security
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;- Protect information, systems, and assets while delivering business value through risk assessments and mitigation strategies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key topics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Protecting confidentiality and integrity of data&lt;/li&gt;
&lt;li&gt;Identifying and managing who can do what&lt;/li&gt;
&lt;li&gt;Protecting systems&lt;/li&gt;
&lt;li&gt;Establishing controls to detect security events&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design Principles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Implement a strong identity foundation&lt;/strong&gt;- Make use of the principle of least privilege. Enforce separation of duties with appropriate authorization. Centralize privilege management. Reduce or eliminate the use of long-term credentials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enable traceability&lt;/strong&gt;- Monitor, alert, and audit actions and changes to your environment in real time. Integrate logs and metrics to automatically take action.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apply security at all layers&lt;/strong&gt;- Apply defense in depth and apply security controls to all layers of your architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate security best practices&lt;/strong&gt;- Automate security mechanisms to improve your ability to securely scale more rapidly and cost-effectively.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protect data in transit and at rest&lt;/strong&gt;- Classify your data into sensitivity levels and use mechanisms such as tokenization, encryption, and access control.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep people away from data&lt;/strong&gt;- Create mechanisms and tools to reduce or eliminate direct data access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prepare for security events&lt;/strong&gt;- Run incident response management simulations and use automation tools to increase your detection, investigation, and recovery speed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Reliability Pillar
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;- Ensure a workload performs its intended functionality correctly and consistently when it's expected to. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key topics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Recovery planning&lt;/li&gt;
&lt;li&gt;Handling change&lt;/li&gt;
&lt;li&gt;Designing distributed systems&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design principles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stop guessing capacity&lt;/strong&gt;- Monitor demand and system usage, and automate the addition or removal of resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manage change in automation&lt;/strong&gt;- Use automation to make changes to infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale horizontally to increase aggregate workload availability&lt;/strong&gt;- Replace one large resource with multiple smaller resources and distribute requests across these resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatically recover from failure&lt;/strong&gt;- Monitor systems for key performance indicators and configure your systems to trigger an automated recovery in case of a breach.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test recovery procedures&lt;/strong&gt;- Test how your systems fail and validate your recovery procedures.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Performance Efficiency pillar
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;- Use IT and computing resources efficiently to meet system requirements and to maintain that efficiency as demand changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key topics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selecting the right resource types and sizes based on workload requirements&lt;/li&gt;
&lt;li&gt;Monitoring performance&lt;/li&gt;
&lt;li&gt;Making informed decisions to maintain efficiency as business needs evolve.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design Principles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Go global in minutes&lt;/strong&gt;- Deploy systems in multiple regions to reduce latency and enhance customer experience at minimal cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experiment more often&lt;/strong&gt;- Perform comparative testing of different types of service configurations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use serverless architectures&lt;/strong&gt;- Serverless architectures remove the operational burden of running and maintaining servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Democratize advanced technologies&lt;/strong&gt;- Consume technologies as a service. This enables teams to focus on product development instead of resource provisioning and management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consider mechanical sympathy&lt;/strong&gt;- Use the technology approach that aligns best to what you are trying to achieve.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cost optimization pillar
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;- Avoid unnecessary costs&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key topics&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understanding and controlling where money is being spent&lt;/li&gt;
&lt;li&gt;Selecting the most appropriate and right number of resource types&lt;/li&gt;
&lt;li&gt;Analysing spending over time&lt;/li&gt;
&lt;li&gt;Scaling to meet business needs without overspending&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design principles
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Implement cloud financial management&lt;/strong&gt;- Build capability through knowledge building, programs, resources, and processes to become a cost-efficient organization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adopt a consumption model&lt;/strong&gt;- Pay only for the computing resources that you require.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measure overall efficiency&lt;/strong&gt;- Measure the business output of the workload and costs that are associated with delivering it. Use this measure to know the gains that you make from increasing output and reducing costs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stop spending money on undifferentiated heavy lifting&lt;/strong&gt;- Focus on your customers and business projects instead of the IT infrastructure such as racking, stacking, and powering services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analyse and attribute spending&lt;/strong&gt;- &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>aws</category>
      <category>wellarchitectedframework</category>
      <category>learning</category>
    </item>
    <item>
      <title>30 days of AWS - Part 4: AWS Storage</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Tue, 02 Jul 2024 12:55:18 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-4-aws-storage-59pe</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-4-aws-storage-59pe</guid>
      <description>&lt;p&gt;&lt;strong&gt;Welcome to part 4 of 8 of the '30 days of AWS'&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Cloud storage is a critical component in cloud computing because it holds information that is accessed by your applications. Cloud storage is typically more reliable, secure, and scalable than on-premise alternatives.&lt;/p&gt;

&lt;p&gt;AWS cloud storage offers storage options in 3 categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Object storage i.e S3&lt;/li&gt;
&lt;li&gt;Block storage i.e EBS&lt;/li&gt;
&lt;li&gt;File storage i.e EFS&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The most common form of storage is object storage&lt;/p&gt;

&lt;h3&gt;
  
  
  Cloud storage types
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Object storage
&lt;/h4&gt;

&lt;p&gt;Data is managed as individual objects.&lt;br&gt;
Each object includes the data itself, the metadata, and a globally unique identifier.&lt;br&gt;
The object storage service in AWS is AWS Simple Storage Service (AWS s3)&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Block storage
&lt;/h4&gt;

&lt;p&gt;Block storage breaks up data into blocks and then stores those blocks as separate pieces, each with a unique identifier.&lt;br&gt;
Block storage is typically more expensive than object storage and file storage but it provides the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;low latency&lt;/li&gt;
&lt;li&gt;High and consistent performance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The block storage service in AWS is the AWS Elastic Block Storage (EBS).&lt;/p&gt;

&lt;h4&gt;
  
  
  3. File storage
&lt;/h4&gt;

&lt;p&gt;In file storage, data is stored in files and the files are organized in folders, and the folders are organized under a hierarchy of directories and subdirectories.&lt;br&gt;
The file storage service in AWS is the AWS Elastic File System (AWS EFS).&lt;/p&gt;

&lt;p&gt;Let's delve deeper into each one of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Simple Secure Storage (s3)
&lt;/h2&gt;

&lt;p&gt;Amazon s3, as mentioned earlier, is an object-level storage option.&lt;br&gt;
Amazon s3 stores data within resources called *&lt;em&gt;buckets *&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon s3 features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;S3 is designed to deliver 99.999999999% (yap, 11 9's) durability for objects stored in the service and&lt;/li&gt;
&lt;li&gt;S3 supports multiple security and compliance certifications.&lt;/li&gt;
&lt;li&gt;You can store any type of file in s3&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Use cases of S3
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Backup and Disaster Recovery&lt;/strong&gt;&lt;br&gt;
The &lt;a href="https://medium.com/@oguzhanhiziroglu/aws-s3-cross-region-replication-a-deep-dive-eb3ec1410ac7"&gt;Cross Region Replication (CRR)&lt;/a&gt; feature in AWS s3 automatically replicates data across regions while maintaining maximum durability and availability.&lt;/p&gt;

&lt;p&gt;Amazon S3 versioning feature, when enabled, automatically keeps multiple variants of an object in the same bucket. This makes it easier to recover these files or older versions. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Big data and analytics&lt;/strong&gt;&lt;br&gt;
S3 offers an in-place querying functionality, which is used to run analytics on data stored in S3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Content distribution&lt;/strong&gt; &lt;br&gt;
S3 can be used to store static content, such as images, videos, and downloadable files. This content can be distributed globally to users by leveraging Amazon CloudFront, a content delivery network (CDN).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Data Archiving&lt;/strong&gt;&lt;br&gt;
Amazon S3 offers several storage class tiers, including the Amazon S3 Glacier, a durable and cost-effective archiving solution.&lt;/p&gt;

&lt;h3&gt;
  
  
  AWS S3 storage classes
&lt;/h3&gt;

&lt;p&gt;Amazon s3 offers 7 different storage classes that are designed for different use cases.&lt;/p&gt;

&lt;p&gt;These classes include:&lt;br&gt;
&lt;strong&gt;a. Amazon S3 standard&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it supports frequently accessed data that requires low latency and high throughput.&lt;/li&gt;
&lt;li&gt;It is designed for high durability, availability, and performance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use cases include:&lt;/strong&gt; hosting dynamic websites, content distribution, mobile and gaming applications, and big data analytics.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;b. Amazon S3 Intelligent-Tiering&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This storage class is designed to optimize costs by automatically moving data to the most cost-effective tier, without affecting performance impact.&lt;/li&gt;
&lt;li&gt;S3 monitors access patterns of the objects in S3 intelligent-tiering and if objects have not been accessed for 30 consecutive days, the objects are moved to the infrequent access tier (IA). &lt;/li&gt;
&lt;li&gt;If an object in the IA tier is accessed, it is automatically moved back to the frequent access tier.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;c. Amazon S3 standard Infrequent-Access (S3-standard-IA)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is used for data that is accessed less frequently but requires rapid access when needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;d. Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is used for data that is accessed less frequently but requires rapid access when needed.&lt;/li&gt;
&lt;li&gt;The difference between this and S3 standard IA is that S3 One Zone-IA stores data in a single availability zone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;e. Amazon S3 Glacier Instant Retrieval&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is a secure, durable, and low-cost storage class for data archiving.&lt;/li&gt;
&lt;li&gt;This storage class can retrieve objects within a few milliseconds.&lt;/li&gt;
&lt;li&gt;There is a trade-off to the low-cost storage: Retrieving data from the Glacier Instant Retrieval incurs a higher cost per GB compared to the s3 standard.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;f. Amazon S3 Glacier Flexible Retrieval&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is a low-cost storage designed for data archiving&lt;/li&gt;
&lt;li&gt;This storage class retrieves objects within a few minutes to hours.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;g. Amazon S3 Glacier Deep Archive&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This is the lowest-cost storage class for Amazon S3.&lt;/li&gt;
&lt;li&gt;It supports long-term retention and digital preservation of data that might be accessed once or twice a year.&lt;/li&gt;
&lt;li&gt;All objects stored here are replicated and stored across 3 geographically dispersed AZs.&lt;/li&gt;
&lt;li&gt;These objects can be restored within 12 hours.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Naming conventions of S3 buckets
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Names MUST be unique across all AWS accounts; within and without your organization. In other words, there aren't 2 S3 buckets that share a name in AWS.&lt;/li&gt;
&lt;li&gt;Names must be 3 to 63 characters in length&lt;/li&gt;
&lt;li&gt;Names can only contain lowercase letters, numbers, and hyphens&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Amazon S3 pricing
&lt;/h4&gt;

&lt;p&gt;You pay for what you use which includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GBs per month (Storage class)&lt;/li&gt;
&lt;li&gt;Transfer OUTs to other regions&lt;/li&gt;
&lt;li&gt;PUT, COPY, POST, GET, and LIST requests&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Amazon Elastic Block Storage (EBS)
&lt;/h2&gt;

&lt;p&gt;Amazon EBS provides persistent block storage volumes for use with Amazon EC2 instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Persistent storage&lt;/strong&gt; - It is any data storage device that retains data after power to that device is shut off.&lt;/p&gt;

&lt;h3&gt;
  
  
  Features of Amazon EBS
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Amazon EBS is automatically replicated within its Availability Zone.&lt;/li&gt;
&lt;li&gt;EBS offers consistent and low-latency performance needed to run workloads.&lt;/li&gt;
&lt;li&gt;EBS volume data persists independently of the life of the instance attached to it.&lt;/li&gt;
&lt;li&gt;You can attach multiple EBS volumes to an instance.&lt;/li&gt;
&lt;li&gt;EBS volumes must be in the same Availability Zone as the instances they are attached to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A backup of an Amazon EBS is called a &lt;strong&gt;snapshot&lt;/strong&gt;. The first snapshot is called the &lt;strong&gt;baseline snapshot&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Any other snapshot after the baseline snapshot captures only what is different from the previous snapshot.&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon EBS volume types
&lt;/h3&gt;

&lt;p&gt;The volume types differ in performance characteristics and price.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Volume types&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. Solid-state drive (SSD) volumes&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Optimized for transactional workloads involving frequent read/write operations.&lt;/li&gt;
&lt;li&gt;They are usually preferred in cases where high Input/Output Operations per Second (IOPS) is required. &lt;/li&gt;
&lt;li&gt;SSD-backed volume types include:&lt;strong&gt;General purpose SSD&lt;/strong&gt; and &lt;strong&gt;Provisioned IOPS SSD&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Hard Disk Drive (HDD)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are optimized for large streaming workloads where the dominant performance attribute is throughput&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is throughput?&lt;/strong&gt; - It is a measure of the amount of data transferred to and from a storage device per second.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HDD volume types include: &lt;strong&gt;Throughput optimized HDD&lt;/strong&gt; and &lt;strong&gt;Cold HDD&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Use Cases of Amazon EBS
&lt;/h4&gt;

&lt;p&gt;a. Boot volumes and storage for Amazon EC2 instances.&lt;br&gt;
b. Database hosts&lt;br&gt;
c. Data storage with a file system&lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon Elastic File System (EFS)
&lt;/h2&gt;

&lt;p&gt;EFS provides simple, scalable, and elastic file storage for use with AWS services.&lt;br&gt;
EFS uses the Network File System (NFS) protocol&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a Network File System (NFS) protocol?&lt;/strong&gt;&lt;br&gt;
It is a file system protocol that allows a user on a client computer to access files over a network the same way they would access a local storage file.&lt;/p&gt;

&lt;p&gt;Features of Amazon EFS&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is built to dynamically scale on demand without causing disruptions.&lt;/li&gt;
&lt;li&gt;It is well suited for big data and analytics, web serving, media processing workflows, and home directories.&lt;/li&gt;
&lt;li&gt;It can scale up to petabytes&lt;/li&gt;
&lt;li&gt;By default, you can create up to 10 file systems per AWS account.&lt;/li&gt;
&lt;li&gt;It can concurrently be connected to 1 to 1000s of EC2 instances from multiple AZs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Use cases of EFS volumes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Web serving and content management&lt;/li&gt;
&lt;li&gt;Media and entertainment&lt;/li&gt;
&lt;li&gt;Shared and home directories&lt;/li&gt;
&lt;li&gt;Database backups&lt;/li&gt;
&lt;li&gt;Big data analytics&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Creating an EFS
&lt;/h3&gt;

&lt;p&gt;An EFS is created within an Amazon Virtual Private Cloud (VPC) and must be attached to an EC2 instance within the same VPC.&lt;/p&gt;

&lt;p&gt;The VPC, EC2 instance, and EFS itself must all reside in the same region.&lt;/p&gt;

&lt;p&gt;The EFS file system is mounted on the VPC using the NFS versions 4.0 and 4.1&lt;/p&gt;

&lt;p&gt;There are 2 categories of file systems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Regional file systems&lt;/strong&gt; - It stores data redundantly across multiple AZs. You can create a mount target in each AZ in the region.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One zone file systems&lt;/strong&gt; - It stores data redundantly within a single AZ. Only a single mount target is created.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is a mount target?&lt;/strong&gt; - IIt is an elastic network interface that 'exposes' the EFS to your VPC. Your client accesses the EFS by connecting to the mount target(s).&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon EFS infrastructure
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlp3ne1h3molt5x72sw5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlp3ne1h3molt5x72sw5.png" alt="EFS Regional file system infra" width="800" height="559"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the illustration above, the VPC spans across 3 AZs and each Availability Zone has one mount target created in it.&lt;/p&gt;

&lt;p&gt;Accessing the file system from a mount target within the same AZ is recommended for performance and cost reasons.&lt;/p&gt;

&lt;p&gt;One of the Availability Zones has 2 subnets. However, a mount target is created in only one of the subnets.&lt;/p&gt;

&lt;h3&gt;
  
  
  Contents of the file system
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;a. Mount target&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The mount target ID&lt;/li&gt;
&lt;li&gt;The subnet ID for the subnet where it was created&lt;/li&gt;
&lt;li&gt;The file system ID&lt;/li&gt;
&lt;li&gt;An IP address where the file system is mounted&lt;/li&gt;
&lt;li&gt;The mount target state&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;b. Tags&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Key-value pair&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank You for making it to the end 🍾🍾&lt;br&gt;
See you in the next one.&lt;/p&gt;

</description>
      <category>ec2</category>
      <category>aws</category>
      <category>ebs</category>
      <category>efs</category>
    </item>
    <item>
      <title>30 Days of AWS- Part 2: AWS Compute</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Thu, 13 Jun 2024 17:53:55 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-2-aws-compute-4f3i</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-2-aws-compute-4f3i</guid>
      <description>&lt;p&gt;Welcome to part 2 of 8 of this series "30 days of AWS". While each article delves into a different aspect of AWS, rest assured that they are all interconnected and are building blocks to any given solution.&lt;/p&gt;

&lt;p&gt;AWS compute is powered by several services that accomplish different tasks. These services are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Amazon Elastic Cloud Compute (EC2)&lt;/li&gt;
&lt;li&gt;AWS Lambda&lt;/li&gt;
&lt;li&gt;AWS Elastic Beanstalk&lt;/li&gt;
&lt;li&gt;Amazon EC2 Auto Scaling&lt;/li&gt;
&lt;li&gt;Amazon Elastic Container Registry&lt;/li&gt;
&lt;li&gt;Amazon Elastic Container Services&lt;/li&gt;
&lt;li&gt;Amazon Fargate&lt;/li&gt;
&lt;li&gt;Amazon Elastic Kubernetes Services &lt;/li&gt;
&lt;li&gt;Amazon Lightsail&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this article, my focus will be on &lt;strong&gt;Amazon EC2&lt;/strong&gt; and we will look at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EC2 instances - Types, pricing, and use cases.&lt;/li&gt;
&lt;li&gt;AWS global infrastructure - Regions, Availability zones, and edge locations&lt;/li&gt;
&lt;li&gt;Provisioning 2 EC2 instances in different availability zones in the same region&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is an EC2 instance?
&lt;/h2&gt;

&lt;p&gt;An EC2 instance is a virtual server that allows users to run applications in the AWS cloud.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a server?&lt;/strong&gt;&lt;br&gt;
A server is a computer program or device that provides a service to another computer program and its users, also known as the client&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of EC2 instances
&lt;/h2&gt;

&lt;p&gt;EC2 instances are divided into 5 categories.&lt;/p&gt;

&lt;p&gt;The table below summarizes the instance types, their characteristics, and examples.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Instance type&lt;/th&gt;
&lt;th&gt;Characteristics&lt;/th&gt;
&lt;th&gt;Instance families&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. &lt;strong&gt;General purpose instances&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;- The computation, memory, and networking resources in general-purpose instances are balanced&lt;/td&gt;
&lt;td&gt;M7, M6, M5, Mac, T2 and T3 families&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. &lt;strong&gt;Compute-optimized instances&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;- Great for compute-intensive tasks that require high-performance processor&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;Suitable for applications that demand high CPU power.&lt;/td&gt;
&lt;td&gt;C5, C6, and C7 families&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. &lt;strong&gt;Memory-optimized instances&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;- These instances are geared for workloads that need huge datasets to be processed in memory. Memory here means RAM which allows us to do multiple tasks at the same time.&lt;/td&gt;
&lt;td&gt;X1, X2, High Memory, R5, R6, R7, and R8 families.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. &lt;strong&gt;Storage optimized instances&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;- Great for storage-intensive tasks that require high, sequential read and write access to huge datasets&lt;/td&gt;
&lt;td&gt;I4, I3, D2, D3, and H1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5. &lt;strong&gt;Accelerated computing&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;- These instances provide the highest performance in Amazon EC2 for deep learning and high-performance computing (HPC).&lt;/td&gt;
&lt;td&gt;P2, P3, P4, P5, G3, G4, G5, G6, Trn1, Inf1, Inf2, DL1, DL2q, F1, and VT1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Amazon EC2 pricing models
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. On-demand instances
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;You pay for what you use&lt;/li&gt;
&lt;li&gt;It has the highest cost and no upfront payment is made.&lt;/li&gt;
&lt;li&gt;It is recommended for short-term and un-interrupted workloads, where you can’t predict how an application will behave&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. Reserved instances
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Reserved instances are a flexible pricing option and help reduce costs compared to On-Demand prices by committing to a specified amount of usage for a 1 or 3-year term.&lt;/li&gt;
&lt;li&gt;You can save up to 72% compared to On-Demand prices with the discounted savings plan rate.&lt;/li&gt;
&lt;li&gt;Recommended for steady-state usage application.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  3. Spot instances
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Spot instances allow you to use unused EC2 capacity in the AWS cloud and can offer up to 90% off on-demand prices.&lt;/li&gt;
&lt;li&gt;Instances run as long as they are available and they can be interrupted at any time by AWS.&lt;/li&gt;
&lt;li&gt;It is best used for workloads that can withstand interruptions. You are given a 2-minute notice before interruptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  4. Dedicated hosts
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;This is a physical server with an EC2 instance capacity fully dedicated to your use&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AWS Global Infrastructure
&lt;/h2&gt;

&lt;p&gt;The AWS Global Cloud Infrastructure is the underlying structure that allows AWS to serve cloud computing services to customers all over the world.&lt;/p&gt;

&lt;p&gt;It is segmented into AWS &lt;strong&gt;regions, availability zones&lt;/strong&gt;, and &lt;strong&gt;edge locations&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  AWS Regions
&lt;/h4&gt;

&lt;p&gt;An AWS Region is a physical location in the world where we have multiple Availability Zones&lt;/p&gt;

&lt;p&gt;Currently, there are 33 regions across the globe, with 6 regions in the works.&lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/"&gt;source&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Availability zones
&lt;/h4&gt;

&lt;p&gt;Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities.&lt;/p&gt;

&lt;p&gt;Availability zones are many miles apart to reduce the risk of correlated failures.&lt;/p&gt;

&lt;p&gt;This &lt;a href="https://portworx.com/blog/aws-availability-zones/"&gt;page&lt;/a&gt; gives a comprehensive live of the AZs in the different regions.&lt;/p&gt;

&lt;p&gt;Currently, there are 105 availability zones and plans for 18 more. &lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/"&gt;source&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Edge locations
&lt;/h4&gt;

&lt;p&gt;Edge locations are used for content delivery- Static content is replicated to those locations in order to reduce latency. There is no computing that goes on in Edge Locations, just storage of data.&lt;/p&gt;

&lt;p&gt;Key services that leverage AWS Edge Locations include Amazon CloudFront, and Amazon Route 53.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Differences between edge locations and availability zones&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Edge locations&lt;/th&gt;
&lt;th&gt;Availability zones&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Edge locations are used for caching content and delivering it at low latency and high performance&lt;/td&gt;
&lt;td&gt;Availability zones are used to ensure high availability and fault tolerance of services by providing physically separate data centers within a region.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Edge locations are spread out geographically and are separate from AWS regions&lt;/td&gt;
&lt;td&gt;AWS availability zones are distinct, physically separate data centers within a specific AWS Region&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Launch an EC2 instance
&lt;/h3&gt;

&lt;p&gt;Onto the sweeter part&lt;br&gt;
&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExdWppYmRpaXlwaG5iZHExbG1iNDI4ZHhydHc4a3pjMzVtZTIzYnZoYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Dps6uX4XPOKeA/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExdWppYmRpaXlwaG5iZHExbG1iNDI4ZHhydHc4a3pjMzVtZTIzYnZoYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Dps6uX4XPOKeA/giphy.gif" width="480" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are going to launch 2 instances in two different availability zones in the same region&lt;/p&gt;

&lt;p&gt;To choose your region:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;On the top right corner of the AWS management console, right before your account name, there is a drop-down to choose your preferred region to launch your instance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I'll be using the 'us-east-1' region and availability zones 'us-east-1a and us-east-1b'&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Steps to launch an EC2 instance
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Login to your &lt;a href="https://console.aws.amazon.com/console/home"&gt;AWS management console&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;On the top right corner, in the search bar search EC2. It should come up. This is the EC2 dashboard&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxlzt3exe8pspgdwzx05q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxlzt3exe8pspgdwzx05q.png" alt="Search ec2 instance on management console" width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on the "Launch Instance" button on the dashboard&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kpptukhprdd4wsz15hv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kpptukhprdd4wsz15hv.png" alt="Click launch instance button" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next page will be as follows. This is where you give the specifics of your instance such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;name&lt;/strong&gt; of your instance e.g my_first_instance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Amazon Machine Image&lt;/strong&gt; - This is a template that contains the software configuration required to launch your instance such as the operating system, application server, and applications. There are thousands of AMIs to choose from. You are spoilt for choice. However, keep in mind that whatever AMI you choose comes with a bill. For this demo, we'll go with 'Amazon Linux 2023 AMI'. It's well within the free-tier umbrella.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Far5h6qa6syglzzshmcgn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Far5h6qa6syglzzshmcgn.png" alt="Name and AMI of your instance" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instance type - The choice of instance will depend on your preference and workload. Each instance comes with a different combination of CPU, and memory. For this demo, we'll use the t2.micro&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnnz9fi6mg1m2bw08avly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnnz9fi6mg1m2bw08avly.png" alt="Instance type and key-value pair" width="800" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Key -pair. A key pair is what is used to connect to an instance. For now, we'll select 'proceed without a key pair'&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Network settings such as VPC, subnets, and security groups (there is an in-depth explanation in part 5 of this series). &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;VPC&lt;/strong&gt; - A VPC (Virtual Private Cloud) is a virtual networking environment &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet&lt;/strong&gt; - A subnet is a range of IP addresses in your VPC. A subnet resides in a single Availability zone. &lt;strong&gt;This is how you're able to have multiple instances in different AZs in the same region&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security group&lt;/strong&gt; - An AWS security group acts as a virtual firewall for your EC2 instance(s) to control incoming and outgoing traffic.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the "Edit" button in network settings&lt;/li&gt;
&lt;li&gt;In the subnet dropdown, choose the subnet that resides in your desired AZ, in this case, &lt;strong&gt;us-east-1a&lt;/strong&gt; as shown below. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjlrd8am1qyjpq1ihunk4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjlrd8am1qyjpq1ihunk4.png" alt="choose a subnet in your desired AZ" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Storage - T2.micro allows for a maximum of 30GB of storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzom0oyc8mlau7k5fuyp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzom0oyc8mlau7k5fuyp.png" alt="Provide storage" width="800" height="223"&gt;&lt;/a&gt;&lt;br&gt;
That's it. Click the "Launch instance" button. Viola! your first instance in region us-east-1 and AZ us-east-1a is up and running.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foia28ijy0v8knzxaryt0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foia28ijy0v8knzxaryt0.png" alt="instance in AZ us-east-1a" width="800" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To launch a second instance in AZ &lt;strong&gt;us-east-1b&lt;/strong&gt;, give your instance a name, choose the AMI, the instance type, and choose a subnet in AZ us-east-1b as shown below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fenonzof7hveaxkbuwp1v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fenonzof7hveaxkbuwp1v.png" alt="Instance 2" width="800" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Final results:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkhkm0v1wn0b6ukomkuk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkhkm0v1wn0b6ukomkuk.png" alt="Final results" width="800" height="157"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thank you for making it to the end. I hope you've learnt a thing or two&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExNTh5ZXh3am1paTB4Ymhqb3lheGZ0NDEwMnlhbDIyNDAzYnZwdWEzeiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ely3apij36BJhoZ234/giphy-downsized-large.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExNTh5ZXh3am1paTB4Ymhqb3lheGZ0NDEwMnlhbDIyNDAzYnZwdWEzeiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ely3apij36BJhoZ234/giphy-downsized-large.gif" width="332" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See you in the next one.&lt;/p&gt;

</description>
      <category>ec2</category>
      <category>awschallenge</category>
      <category>awscloud</category>
    </item>
    <item>
      <title>30 days of AWS- Part 1: Introduction</title>
      <dc:creator>Jully Achenchi</dc:creator>
      <pubDate>Thu, 13 Jun 2024 17:47:07 +0000</pubDate>
      <link>https://dev.to/achenchi/30-days-of-aws-part-1-introduction-bha</link>
      <guid>https://dev.to/achenchi/30-days-of-aws-part-1-introduction-bha</guid>
      <description>&lt;p&gt;Have you ever noticed this particular AWS logo looks like a cartoon smiling 😂? Quite disarming&lt;/p&gt;

&lt;p&gt;Hello there, welcome to part 1 of 8 of this series: 30 days of AWS as inspired by the &lt;a href="https://cozycloudcrew.com/"&gt;cozy cloud crew&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The breakdown of the challenge can be found &lt;a href="https://drive.google.com/file/d/1MVtgH0TyS2MAIh5BKnk8t-BGumnY9Dno/view?usp=sharing"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;The tasks for this segment are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a free tier AWS account&lt;/li&gt;
&lt;li&gt;Set up billing preferences and budget alerts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's get to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a free tier AWS account
&lt;/h2&gt;

&lt;p&gt;AWS is gracious enough to offer a free tier option that lasts for 12 months from the date of your account creation.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://aws.amazon.com/free/"&gt;free tier option&lt;/a&gt; is robust enough but does not give access to all their products and services.&lt;/p&gt;

&lt;p&gt;Before coming across this challenge, I already had an AWS account. Creating an AWS account is easy peasy. This &lt;a href="https://www.youtube.com/watch?v=Ahon3mmAPEg"&gt;YouTube video&lt;/a&gt; gives clear and detailed steps to follow in creating one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set up billing preferences and budget alerts
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Money isn’t everything, but it’s right up there with oxygen.&lt;br&gt;
~ Zig Ziglar&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Billing preferences and budget alerts are used to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Set a monthly or yearly budget of what you are willing to spend on AWS&lt;/li&gt;
&lt;li&gt;Alert you when you are about to reach your budget or when you exceed your budget.&lt;/li&gt;
&lt;li&gt;Track your overall spending.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  How to set up billing preferences and create budget alerts
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;&lt;br&gt;
From the AWS management console, navigate to the Billing and cost management tool&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvxg4xvaja4m3r4yrr7l2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvxg4xvaja4m3r4yrr7l2.png" alt="AWS Management console" width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
Click on the "Create budget" button on the top right corner&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6947yos396x61zqkzkt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6947yos396x61zqkzkt.png" alt="Click create budget icon" width="800" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This takes you to the create budget menu. By default, a simplified template is selected of the type "zero spend budget". This budget notifies you once your spending exceeds $0.01, the free tier limit. It ensures you stay under the provisions of the free tier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc105r9f1kdfqgpev7nuy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc105r9f1kdfqgpev7nuy.png" alt="create budget menu" width="800" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Give your "zero spend budget" a name. You can stick to the default name given or give it a unique name like "Free Tier Budget"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4klndjexnnqyd4i1rqi3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4klndjexnnqyd4i1rqi3.png" alt="Budget name" width="800" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;&lt;br&gt;
Give the email address that AWS will notify you with if you exceed the free tier limit. That is the budget alert.&lt;/p&gt;

&lt;p&gt;Click the "create budget" button and viola, you have a set budget of $0.01 and a defined budget alert.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzg2m8rtssen00otrzevo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzg2m8rtssen00otrzevo.png" alt="Email address for notification" width="800" height="240"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hdpa1l0xwtp7ocvxzna.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hdpa1l0xwtp7ocvxzna.jpeg" alt="fun image" width="725" height="513"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Let the learning begin!!!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>cloud</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
