<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Demystifying Cloud and Consoles..]]></title><description><![CDATA[I'm a software engineer based in Chennai, India specializing in building scalable, efficient, and robust B2B SaaS products.]]></description><link>https://blog.hellokarthic.com</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 14:43:34 GMT</lastBuildDate><atom:link href="https://blog.hellokarthic.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[AWS Application Services and Serverless Notes]]></title><description><![CDATA[Hello Readers, This is the final part of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. In this section, We will be covering…]]></description><link>https://blog.hellokarthic.com/aws-applications-serverless-notes</link><guid isPermaLink="true">https://blog.hellokarthic.com/aws-applications-serverless-notes</guid><category><![CDATA[AWS]]></category><category><![CDATA[AWS Certified Solutions Architect Associate]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Developer]]></category><category><![CDATA[Cloud]]></category><dc:creator><![CDATA[Karthickeyan Narasimhan]]></dc:creator><pubDate>Sat, 26 Dec 2020 18:23:55 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1609168768602/_eImjHydD.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello Readers,</p>
<p>This is the final part of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. In this section, We will be covering notes on the topics: Application services like SQS, SES, SNS, SWS, Kinesis, Elastic Transcoder, Cognito, and Lambda.
As a bonus, In the end, We will also have some common exam notes.</p>
<p><a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">Click here</a>  for part 4 - AWS Route53, VPC, and HA.</p>
<p>I've divided the notes into a 5 part series.</p>
<ul>
<li><strong>Part 1:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-saa-notes">Introduction and AWS S3</a> </li>
<li><strong>Part 2:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">AWS EC2</a> </li>
<li><strong>Part 3:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Databases</a> </li>
<li><strong>Part 4:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">DNS, VPC, and HA(High-Availability)</a> </li>
<li><strong>Part 5:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Application Services and Serverless + Bonus</a> </li>
</ul>
<h3 id="application-services-notes">Application Services Notes</h3>
<hr />
<h4 id="sqs-notes">SQS Notes</h4>
<ul>
<li>A message queuing service, Is used to decouple the infra</li>
<li>SQS supports up to 256 KB, over that limit, goes to S3, and points the object ID.</li>
<li>Messages retention period - 1 to 14 days max; Default = 4 days</li>
<li>Visibility Timeout - Max 12 hours</li>
<li>For existing Message queue users(like RabbitMQ etc), If it's hard to rewrite the application for SQS, Then simply use Amazon MQ</li>
<li>Two types:<ul>
<li>Standard; unlimited transactions/second, no same order, maybe delivered twice.</li>
<li>FIFO; limited to 300 transactions/second, same order, delivered only once.</li>
</ul>
</li>
</ul>
<h4 id="sws-notes">SWS Notes</h4>
<ul>
<li>Amazon Simple Workflow Service, It’s a task-oriented API.</li>
<li>Used in Amazon warehouses. For locating the package and labeling the address on it.</li>
<li><strong>If there is a use case that involves human interaction to it, Then SWS is used.</strong></li>
<li>Workflow executions can last up to 1 year. Imagine the whole process of ordering a book on amazon to reach your hand - The package workflow can last up to 1 year.</li>
<li>SQS Actors<ul>
<li>Workflow Starters - imagine a website initiating the purchase of a book</li>
<li>Deciders - They who controls the flow of activity</li>
<li>Activity Workers - Executes the tasks</li>
</ul>
</li>
</ul>
<h4 id="elastic-transcoder">Elastic Transcoder</h4>
<ul>
<li>Media Transcoder in the cloud</li>
<li>Convert media files from the source format to various format that fit different devices</li>
</ul>
<h4 id="amazon-cognito">Amazon Cognito</h4>
<ul>
<li>Web Identity Federation Service</li>
<li>Basically allows you to do single sign-on using Facebook, google, etc</li>
<li>Two types:<ul>
<li>User pool - Similar to IAM User.</li>
<li>Identity pool - temporary access to a particular AWS Service.</li>
</ul>
</li>
</ul>
<h4 id="kinesis">Kinesis</h4>
<ul>
<li>Stream data to, easy to load &amp; analyze data</li>
<li>3 types of Kinesis<ul>
<li>Kinesis Streams - Data persistence up to 24 hours</li>
<li>Kinesis Firehose - No Data persistence<ul>
<li>It can capture, transform, and load streaming data into S3, Redshift, Elasticsearch Service, and Splunk, enabling near real-time analytics</li>
</ul>
</li>
<li>Kinesis Analytics  (Kinesis Streams + Firehose)</li>
</ul>
</li>
</ul>
<h3 id="serverless-notes">Serverless Notes</h3>
<hr />
<h4 id="lambda">Lambda</h4>
<ul>
<li>Run in 2 ways:<ul>
<li>Event-driven- Runs based on event triggers from S3 bucket/dynamo DB.</li>
<li>Compute Service - Runs based on HTTP Req using API gateway/AWS SDK.</li>
</ul>
</li>
<li>Pricing is based on the number of requests, RAM and, duration of each request</li>
<li>AWS X-Ray Service - Helps you to debug lambda function.</li>
<li>Amazon Polly - For text to speech </li>
</ul>
<h4 id="types-of-lambda-triggers">Types of Lambda triggers:</h4>
<ul>
<li><strong>Synchronous triggers</strong><ul>
<li>Elastic Load Balancing (Application Load Balancer)</li>
<li>Amazon Cognito</li>
<li>Amazon Lex</li>
<li>Amazon Alexa</li>
<li>Amazon API Gateway</li>
<li>Amazon CloudFront (Lambda@Edge)</li>
<li>Amazon Kinesis Data Firehose</li>
</ul>
</li>
<li><strong>Asynchronous triggers</strong><ul>
<li>Amazon Simple Storage Service</li>
<li>Amazon Simple Notification Service</li>
<li>Amazon Simple Email Service</li>
<li>AWS CloudFormation</li>
<li>Amazon CloudWatch Logs</li>
<li>Amazon CloudWatch Events</li>
<li>AWS CodeCommit</li>
<li>AWS Config</li>
</ul>
</li>
<li><strong>Poll-based triggers</strong><ul>
<li>Amazon Kinesis</li>
<li>Amazon SQS</li>
<li>Amazon DynamoDB Streams</li>
</ul>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609074996178/e7QPpqlZ_i.png" alt="image.png" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609075002912/xTNB56-tu.png" alt="image.png" />
 <a target="_blank" href="https://www.udemy.com/course/aws-certified-solutions-architect-associate/">Image Credit</a> </p>
<h3 id="common-exam-notes">Common Exam Notes</h3>
<hr />
<ul>
<li>In CDN, use OAI (Origin access identity) to prevent from accessing S3 directly. You can only access through CDN and not through S3.</li>
<li>To move the master account from one AWS Organisations to other AWS Organisations, the following steps needs to be implemented,<ul>
<li>Removal of all member accounts from AWS Organisations.</li>
<li>Delete the old organization.</li>
<li>Invite master account of old AWS Organisation as a member account to join the new AWS Organisation.</li>
</ul>
</li>
<li>Converting <strong>Legacy Database</strong> to <strong>Amazon DynamoDB</strong> will be a heterogenous conversion. Using <strong>AWS Schema Conversion</strong> Tool is best suited for such conversion along with <strong>AWS DMS</strong> to transfer data from on-premise to AWS. Using the Amazon S3 bucket will help to save any amount of data in the most cost-effective way before its uploaded to Amazon DynamoDB.</li>
<li><strong>AWS Engine Conversion</strong> Tool is for homogenous conversion. (you have dynamoDb on-premise and want to move to AWS DynamoDB. Then it might be helpful)</li>
</ul>
<h1 id="all-the-best-for-your-exams">All the best for your exams!</h1>
]]></content:encoded></item><item><title><![CDATA[AWS Route53, VPC, and HA Notes]]></title><description><![CDATA[Hello Readers, This is part 4 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. In this section, We will be covering notes on…]]></description><link>https://blog.hellokarthic.com/aws-dns-vpc-ha-notes</link><guid isPermaLink="true">https://blog.hellokarthic.com/aws-dns-vpc-ha-notes</guid><category><![CDATA[AWS]]></category><category><![CDATA[AWS Certified Solutions Architect Associate]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Developer]]></category><category><![CDATA[Cloud]]></category><dc:creator><![CDATA[Karthickeyan Narasimhan]]></dc:creator><pubDate>Sat, 26 Dec 2020 18:13:44 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1609168740929/JsUILAYxU.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello Readers,</p>
<p>This is part 4 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. In this section, We will be covering notes on the topics: Route53(DNS), VPC(Virtual Private Cloud), and High-Availability.</p>
<p><a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Click here</a>  for part 3 - AWS Databases.</p>
<p>I've divided the notes into a 5 part series.</p>
<ul>
<li><strong>Part 1:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-saa-notes">Introduction and AWS S3</a> </li>
<li><strong>Part 2:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">AWS EC2</a> </li>
<li><strong>Part 3:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Databases</a> </li>
<li><strong>Part 4:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">DNS, VPC, and HA(High-Availability)</a> </li>
<li><strong>Part 5:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Application Services and Serverless + Bonus</a> </li>
</ul>
<h3 id="route53-notes">Route53 Notes</h3>
<hr />
<p>Domain-name -&gt; NS -&gt; SOA -&gt; A/CNAME/Alias</p>
<ul>
<li>NS - name server. It tells which server: Awsdns/GoDaddy/Bigrock.</li>
<li>SOA - Start of authority, gives information about the alias/A/CNAME</li>
<li>A - Address, gives IP address</li>
<li>CNAME - canonical name, points to another domain name<ul>
<li>CNAME cannot be given for naked domain name (apex records) For Ex: the naked domain is google.com; instead, CNAME is for m.google.com</li>
</ul>
</li>
<li>Alias - points to a DNS ( Ex: ALB, CDN, S3 )</li>
<li>MX - for mail exchange server</li>
<li>PTR - the reverse of A record. Lookup Ip address for the domain name.</li>
</ul>
<h4 id="types-of-dns-routing">Types of DNS Routing</h4>
<ul>
<li>Simple Routing</li>
<li>Weighted Routing ( you can distribute traffic %; also add health checks)</li>
<li>Latency-based Routing</li>
<li>Failover Routing</li>
<li>Geolocation Routing ( for specific location)</li>
<li>GeoProximity Routing (Traffic flow only) (based on physical distance)</li>
<li>Multivalue Answer Routing (Simple Routing + health checks)</li>
</ul>
<h3 id="vpc-notes">VPC Notes</h3>
<hr />
<ul>
<li>Disable Source/Destination checks from <strong>NAT Instances</strong> when configuring.</li>
<li><strong>Direct connect</strong> - Dedicated connection from local office datacenter to AWS datacenter.</li>
<li><strong>Global Acceleration</strong> - Let your users access your application via edge location (Superfast) increases availability and performance<ul>
<li>You are assigned 2 static IP address/ Bring your own</li>
<li>You can attach ALB, NLB, or EC2 instance</li>
</ul>
</li>
<li><strong>VPC Endpoint</strong> - lets you connect your VPC with selected AWS Services without the need for NAT gateway, Internet Gateway, etc. Two types:<ul>
<li>Interface Endpoint - attached ENI to ec2</li>
<li>Gateway Endpoint - Connects with S3, DynamoDB</li>
</ul>
</li>
</ul>
<h3 id="ha-notes">HA Notes</h3>
<hr />
<p>Autoscaling has 3 components</p>
<ul>
<li>Groups - Logical component grouping</li>
<li>Configuration Templates - Groups uses launch template/configuration</li>
<li>Scaling Policies<ul>
<li><strong>Target tracking scaling:</strong> Applied to check the ASGAvgCPUUtilization</li>
<li><strong>Step Scaling:</strong> Adjust the capacity based on step adjustment instead of the target</li>
<li><strong>Simple Scaling:</strong> Changes the capacity based on a single adjustment</li>
</ul>
</li>
<li>Scaling Options - Configure conditions (CPU, memory, schedule, etc). There are 5 options. They are:<ul>
<li>Maintain current instance levels at all times (ex: min 5 instances always)</li>
<li>Scale Manually</li>
<li>Scale based on a schedule</li>
<li>Scale based on a demand</li>
<li>Use predictive scaling</li>
</ul>
</li>
</ul>
<p>Continue reading  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Part 5 - AWS Application Services and Serverless Notes</a> ...</p>
]]></content:encoded></item><item><title><![CDATA[AWS Databases Notes]]></title><description><![CDATA[Hello Readers, This is part 3 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. Click here for part 2 - AWS EC2. I've divided…]]></description><link>https://blog.hellokarthic.com/aws-db-notes</link><guid isPermaLink="true">https://blog.hellokarthic.com/aws-db-notes</guid><category><![CDATA[AWS]]></category><category><![CDATA[AWS Certified Solutions Architect Associate]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Developer]]></category><dc:creator><![CDATA[Karthickeyan Narasimhan]]></dc:creator><pubDate>Sat, 26 Dec 2020 17:33:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1609168550483/wHtiFhgmB.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello Readers,</p>
<p>This is part 3 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam.  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">Click here</a>  for part 2 - AWS EC2.</p>
<p>I've divided the notes into a 5 part series.</p>
<ul>
<li><strong>Part 1:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-saa-notes">Introduction and AWS S3</a> </li>
<li><strong>Part 2:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">AWS EC2</a> </li>
<li><strong>Part 3:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Databases</a> </li>
<li><strong>Part 4:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">DNS, VPC, and HA(High-Availability)</a> </li>
<li><strong>Part 5:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Application Services and Serverless + Bonus</a> </li>
</ul>
<h3 id="database-notes">Database Notes</h3>
<hr />
<h4 id="database-in-aws">Database in AWS:</h4>
<ol>
<li><strong>RDS</strong> (OLTP-Online transaction processing) - Ex: give order ID, returns all data<ul>
<li>SQL Server</li>
<li>Oracle</li>
<li>MySQL Server</li>
<li>PostgreSQL</li>
<li>Aurora</li>
<li>MariaDB</li>
</ul>
</li>
<li><strong>NoSQL</strong><ul>
<li>DynamoDB</li>
</ul>
</li>
<li><strong>Data Warehouse</strong> (OLAP-Online analytical processing) - For complex analytics &amp; BI.<ul>
<li>Redshift</li>
</ul>
</li>
<li><p><strong>Elasticache</strong> - improves the performance of DB by caching frequent queries.</p>
<ul>
<li>Two types<ul>
<li>Memcache</li>
<li>Redis</li>
</ul>
</li>
<li>You can set up an Autoscaling group that can auto-scale Cache nodes based on CPU usage.</li>
</ul>
</li>
</ol>
<h4 id="key-features-of-rds">Key Features of RDS</h4>
<ul>
<li>Multi-AZ - For disaster recovery</li>
<li>Read Replicas - For Performance ( Max 5 copies for a DB )</li>
</ul>
<h4 id="types-of-rds-backups">Types of RDS backups</h4>
<ul>
<li>Automated Backups <ul>
<li>point-in-time recovery; </li>
<li>Retention period - 1 to 35 days;</li>
<li>Backups stored in S3 (for free)</li>
<li>Takes 1 daily snapshot and transactional logs.</li>
<li>These are deleted when RDS is deleted</li>
</ul>
</li>
<li>Database Snapshots<ul>
<li>Manual snapshots</li>
<li>These are NOT deleted when RDS is deleted</li>
</ul>
</li>
</ul>
<h4 id="general-rds-notes">General RDS Notes</h4>
<ul>
<li>[NEW] You can autoscale using RDS Auto Scaling groups</li>
<li>Two ways to cope with heavy DB load - Elasticache &amp; Read replica</li>
<li><strong>Read replica</strong> is mainly for Performance</li>
<li><strong>Multi-AZ</strong> is mainly for Disaster Recovery</li>
<li>Cross-region Read replica can be created for Disaster Recovery</li>
</ul>
<h4 id="dynamodb">DynamoDB</h4>
<ul>
<li>Stored on SSD - Hence fast</li>
<li>Spread across 3 AZ</li>
<li>DynamoDB allows for the storage of large text and binary objects, but there is a limit of <strong>400 KB</strong>.</li>
<li>Has DAX(DynamoDb Accelerator) - in-memory cache(for performance) - It is similar to Elasticache for RDS.</li>
<li>Two types:<ul>
<li>Eventual consistency Read (default) - takes around 1 second to update</li>
<li>Strong consistency Read - updates Within 1 second and can be read</li>
</ul>
</li>
</ul>
<h4 id="redshift">RedShift</h4>
<ul>
<li>Single Node ( 160Gb )</li>
<li>Multi-Node<ul>
<li><strong>Leader Node</strong> (manages client connection and received requests)</li>
<li><strong>Compute Node</strong> (Stores data and performs computations). Up to 128 nodes.</li>
</ul>
</li>
<li>Has Advanced Compression -Columnar compression(data in the column is of the same type)</li>
<li>Massively Parallel Processing (MPP)</li>
<li>Backups are taken by default with 1-day retention. &amp; Max = 35 days (similar to RDS)</li>
<li>It maintains 3 copies of data - Original &amp; Replica on the compute node. Backup in S3.</li>
<li>Charged only for compute node - Not for Leader node</li>
<li><strong>No multi-AZ support. It can only be in 1 AZ.</strong></li>
</ul>
<h4 id="aurora">Aurora</h4>
<ul>
<li>Start with 10GB. Scales in 10Gb Increments. Up to 64TB</li>
<li>Compute resource up to 32vCPUs and 244Gb of memory</li>
<li><strong>2 copies in each AZ. Minimum of 3 AZ. So 6 copies of your data.</strong></li>
<li>Types of Aurora replicas:<ul>
<li>Aurora Replicas (max 15)</li>
<li>MySQL Read Replicas (max 5)</li>
<li>PostgreSQL (max 1)</li>
</ul>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609074911848/xOiR3H4On.png" alt="image.png" /></p>
<h4 id="aurora-serverless">Aurora Serverless</h4>
<ul>
<li>Simple Cost-effective option for infrequent, intermittent, or unpredictable workloads</li>
<li>Automatically start-up shut down, and scale capacity up or down based on your 
application's needs</li>
</ul>
<p>Continue reading  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">Part 4 - AWS Route53, VPC, and HA</a> ...</p>
]]></content:encoded></item><item><title><![CDATA[AWS EC2 notes]]></title><description><![CDATA[Hello Readers, This is part 2 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam. Click here for part 1 - AWS S3. I've divided…]]></description><link>https://blog.hellokarthic.com/aws-ec2-notes</link><guid isPermaLink="true">https://blog.hellokarthic.com/aws-ec2-notes</guid><category><![CDATA[AWS]]></category><category><![CDATA[AWS Certified Solutions Architect Associate]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Developer]]></category><category><![CDATA[Certification]]></category><dc:creator><![CDATA[Karthickeyan Narasimhan]]></dc:creator><pubDate>Sat, 26 Dec 2020 17:06:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1609168404697/3rHRUVRI3.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello Readers,</p>
<p>This is part 2 of the 5-part Series on cracking the AWS Solutions Architect - Associate Exam.  <a target="_blank" href="https://blog.hellokarthic.com/aws-s3-notes">Click here</a>  for part 1 - AWS S3.</p>
<p>I've divided the notes into a 5 part series.</p>
<ul>
<li><strong>Part 1:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-saa-notes">Introduction and AWS S3</a> </li>
<li><strong>Part 2:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">AWS EC2</a> </li>
<li><strong>Part 3:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Databases</a> </li>
<li><strong>Part 4:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">DNS, VPC, and HA(High-Availability)</a> </li>
<li><strong>Part 5:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Application Services and Serverless + Bonus</a> </li>
</ul>
<h3 id="ec2-notes">EC2 Notes</h3>
<hr />
<h4 id="ec2-types">EC2 Types</h4>
<ul>
<li>On-Demand</li>
<li>Reserved</li>
<li>Spot</li>
<li>Dedicated Hosts</li>
</ul>
<h4 id="reserved-instanceri-types">Reserved Instance(RI) Types</h4>
<ul>
<li>Standard RI - Upfront, greater discount - No changing instance types</li>
<li>Convertible RI - lesser discount (54% off on-demand) - Changeable instance types - But should be equal or greater value</li>
<li>Scheduled RI - only needed for a fraction of day/month/year</li>
</ul>
<h4 id="ec2-mnemonic-to-remember-various-instance-types-supported">EC2 Mnemonic ( To remember various instance types supported )</h4>
<p>FIGHT DR MC.PIXZ from AU</p>
<p>F - FPGA;
I - For IOPS;
G - Graphics;
H - High Disk throughput;
T- t2 cheap;</p>
<p>D - Density;
R -  RAM;</p>
<p>M - main/general purpose;
C - Compute;
P - Graphics;
X - Xtreme memory;
Z - Xtreme memory and CPU;</p>
<p>A - ARM-based workloads;
U - Bare metal;</p>
<h4 id="ec2-general-notes">EC2 general notes:</h4>
<ul>
<li>General-purpose SSD can have 100 burstable up to 3000 IOPS. </li>
<li>3 IOPS / GB</li>
<li><strong>NOW, Root Volume can be encrypted during EC2 creation</strong></li>
<li><p>Root Volume has 3 options</p>
<ul>
<li>(gp2) General-purpose SSD</li>
<li>(io1) Provisioned IOPS SSD</li>
<li>(Standard) Magnetic</li>
</ul>
</li>
<li><p>But, Additional EBS volume has 5 options</p>
<ul>
<li>(gp2) General-purpose SSD [ Most workloads ]</li>
<li>(io1) Provisioned IOPS SSD [ Databases ]</li>
<li>(standard) Magnetic [Infrequently accessed Workloads] - PREVIOUS GEN</li>
<li><strong>(sc1) Cold HDD [ Cheapest storage; File Servers]</strong></li>
<li><strong>(st1) Throughput optimized HDD [ Used in Data-warehousing ]</strong></li>
</ul>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609074773892/CGRDO-q3L.png" alt="image.png" />
 <a target="_blank" href="https://www.udemy.com/course/aws-certified-solutions-architect-associate/">Image Credit</a> </p>
<ul>
<li>Security groups are <strong>Stateful</strong> - That means if you create inbound rules, then it automatically presumes outbound as well. Unlike NACL, which is <strong>Stateless</strong>- You MUST mention outbound specifically.</li>
<li>EBS Snapshots exists on S3</li>
<li>Snapshots are incremental - only the last blocks that have changed since your last snapshot are only moved to S3.</li>
<li>EBS vs Instance Store<ul>
<li><strong>For EBS backed Instance:</strong> Root device of an instance (from the AMI) is basically an Amazon EBS volumes that are created from EBS snapshots</li>
<li><strong>For Instance Store backed Instance:</strong> Root device of an instance (from the AMI) is basically created from a template store in S3.</li>
<li><strong>Instance Store:</strong> You cannot stop; you can only reboot/terminate. Also, Instance Store doesn't have Volume attached to it.</li>
<li>In both storage format - if you <strong>reboot</strong>, you won’t lose data</li>
</ul>
</li>
<li>ENI (Elastic Network Interface)<ul>
<li>For basic networking up to 10Gbps</li>
</ul>
</li>
<li>ENA (Elastic Network Adapter) - Uses <strong>SR- IOV (Single Root I/O Virtualization)</strong><ul>
<li>Supports up to 100 Gbps N/w speeds [In Older-gen, Virtual Function(VF) is used, which supports only up to 10 Gbps]</li>
</ul>
</li>
<li>EFA (Elastic Fabric Adapter)<ul>
<li>Can be attached to EC2 for High perf computing(HPC) or ML application</li>
</ul>
</li>
</ul>
<p><strong>Note:</strong> You can only share unencrypted EBS snapshots as public. But encrypted cannot be shared as a snapshot or AMI.</p>
<ul>
<li>Cloudwatch with EC2 can monitor<ul>
<li>CPU</li>
<li>Network</li>
<li>Disk</li>
<li>Status Checks</li>
</ul>
</li>
<li>Curl http://169.254.169.254/latest/meta-data to get instance specific information (Also, try replacing <strong>meta-data</strong> with <strong>user-data</strong> ).</li>
<li>EFS<ul>
<li>It supports network file system version 4 (NFSv4) protocol</li>
<li>Designed for <strong>Linux &amp; Unix</strong>.</li>
<li>you only pay for the storage you use. (No pre-provisioning cost)</li>
<li>Read after write consistency</li>
</ul>
</li>
<li>FSX for Windows<ul>
<li>A managed windows server that runs Windows Server message block (SMB) based file servers</li>
<li>Designed for <strong>windows &amp; windows applications</strong></li>
<li>Supports AD users ACL, group &amp; security policies, DFS, and replication</li>
</ul>
</li>
<li>FSX for Lustre.<ul>
<li>For compute-intensive, ML, HPC millions of IOPS.</li>
<li>Stores directly on S3.</li>
</ul>
</li>
<li>3 types of Placement groups<ul>
<li>Clustered ( single AZ ) - For low latency, High N/w</li>
<li>Spread ( Single instance in each AZ, So separate AZ ) - To avoid hardware failure</li>
<li>Partitioned (multiple instances in each AZ, So separate partitioned AZ )</li>
</ul>
</li>
<li>The hypervisor used in EC2<ul>
<li>Xen (previously used)</li>
<li>Nitro (Currently used, It’s AWS’ own hypervisor)</li>
</ul>
</li>
<li>Standard RI cannot be moved between regions</li>
<li>In the Spread Placement group,  Each AZ can have a max of 7 EC2 instances only.</li>
</ul>
<p>Continue reading  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Part 3 - AWS Databases</a> ...</p>
]]></content:encoded></item><item><title><![CDATA[AWS Solution Architect Associate Exam Prep Notes]]></title><description><![CDATA[Dear readers, I cleared my AWS certified SAA exam few months back. For my exam, I prepared notes covering all important topics and key points to remember…]]></description><link>https://blog.hellokarthic.com/aws-saa-notes</link><guid isPermaLink="true">https://blog.hellokarthic.com/aws-saa-notes</guid><category><![CDATA[AWS]]></category><category><![CDATA[AWS Certified Solutions Architect Associate]]></category><category><![CDATA[Certification]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Developer]]></category><dc:creator><![CDATA[Karthickeyan Narasimhan]]></dc:creator><pubDate>Sat, 26 Dec 2020 08:55:06 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1609168210170/4Hs8FGV8T.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Dear readers,</p>
<p>I cleared my AWS certified SAA exam few months back.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609007213485/0WgxmToy8.jpeg" alt="AWS Certified Solutions Architect - Associate certificate-page-001.jpg" /></p>
<p>For my exam, I prepared notes covering all important topics and key points to remember.
I highly recommend the  <a target="_blank" href="https://www.udemy.com/course/aws-certified-solutions-architect-associate/">Udemy course</a>  by Ryan Kroonerberg.</p>
<p>The following notes are taken based on the aforementioned course material.</p>
<p>I've divided the notes into a 5 part series.</p>
<ul>
<li><strong>Part 1:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-saa-notes">Introduction and AWS S3</a> </li>
<li><strong>Part 2:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">AWS EC2</a> </li>
<li><strong>Part 3:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-db-notes">Databases</a> </li>
<li><strong>Part 4:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-dns-vpc-ha-notes">DNS, VPC, and HA(High-Availability)</a> </li>
<li><strong>Part 5:</strong>  <a target="_blank" href="https://blog.hellokarthic.com/aws-applications-serverless-notes">Application Services and Serverless + Bonus</a> </li>
</ul>
<p><strong>Disclaimer</strong>: These notes are to be used as supplementary material. Don’t rely entirely on the notes for your exam. Use these notes for last-minute revision before your exam.</p>
<h3 id="s3-notes">S3 Notes</h3>
<hr />
<h4 id="s3-consists-of">S3 consists of</h4>
<ul>
<li>Keys</li>
<li>Values</li>
<li>Version ID</li>
<li>Metadata</li>
<li>Subresources<ul>
<li>ACL</li>
<li>Torrents</li>
</ul>
</li>
</ul>
<h4 id="data-consistency-in-s3">Data consistency in S3</h4>
<ol>
<li><p>Read after write consistency for PUTS of a new object.</p>
<ul>
<li><strong>Meaning:</strong> if you write a new file and read it immediately afterward, you’ll be able to view that data.</li>
</ul>
</li>
<li><p>Eventual consistency for overwrite PUTS and DELETES( can take some
time to propagate).</p>
<ul>
<li><strong>Meaning:</strong> If you update AN EXISTING file or delete a file and read it immediately, you may get the older version, or you may not. Basically, changes to objects can take a little bit longer to propagate</li>
</ul>
</li>
</ol>
<h4 id="s3-guarantees">S3 Guarantees</h4>
<ul>
<li>S3 platform is Built for 99.99% availability</li>
<li>But, Amazon will give you 99.9% availability ( for all customers )</li>
<li>Amazon guarantees 99.99999999999% durability for S3 information. ( 99 followed by 11x9’s )</li>
</ul>
<h4 id="s3-features">S3 Features</h4>
<ul>
<li>Tiered Storage available</li>
<li>Lifecycle Management</li>
<li>Versioning </li>
<li>Encryption</li>
<li>MFA Delete</li>
<li>Secure your data using <strong>Access Control Lists</strong> and <strong>Bucket Policies</strong></li>
</ul>
<h4 id="s3-storage-classes">S3 Storage Classes</h4>
<ul>
<li>S3 Standard - <strong>99.99% availability</strong></li>
<li>S3 - IA - <strong>99.9% availability</strong></li>
<li>S3 Intelligent Tiering</li>
<li>S3 One Zone - IA - <strong>99.95% availability</strong></li>
<li>S3 Glacier - configurable retrieval ( from minutes to hours) - <strong>99.99% availability</strong></li>
<li>S3 Glacier Deep Archive - 12 hours of retrieval time - <strong>99.99% availability</strong></li>
</ul>
<h4 id="s3-pricing-based-on">S3 Pricing based on</h4>
<ul>
<li>Storage</li>
<li>Requests</li>
<li>Storage management</li>
<li>Data transfer</li>
<li>Transfer Acceleration</li>
<li>Cross-Region Replication</li>
</ul>
<h4 id="s3-general-notes">S3 General Notes</h4>
<ul>
<li>FIles can be 0 bytes to 5TB</li>
<li>Unlimited storage</li>
<li>Address looks like this:<ul>
<li>https://bucketname.s3.amazonaws.com - If North Virginia </li>
<li>https://bucketname.eu-central-1.s3.amazonaws.com - If other regions</li>
</ul>
</li>
<li>You can turn on MFA delete for objects in the S3 bucket - optional</li>
<li>S3 is stored in a minimum of 3 AZ. </li>
<li><strong>ACL</strong> is for object-level &amp; <strong>Bucket policy</strong> is for bucket level</li>
<li>Once Versioning is enabled, It <strong>Cannot be disabled</strong>, It can only be suspended.</li>
<li>Versioning stores all the versions of a file (including “delete marker”), If you delete the “delete marker”, then it will be recovered</li>
<li>You can have <strong>100 buckets/account</strong></li>
<li>S3 now supports <strong>3500 PUTS/sec</strong> [ previously *before 2018, was only 100 PUTS/sec]</li>
</ul>
<h4 id="s3-encryption">S3 Encryption</h4>
<ol>
<li>Encryption at Transit<ul>
<li>Through SSL/TLS</li>
</ul>
</li>
<li>Encryption at Rest (Server Side)<ul>
<li>S3 Managed Keys; SSE-S3</li>
<li>AWS KMS managed keys; SSE-KMS</li>
</ul>
</li>
<li>SSE with customer-managed keys; SSE-C<ul>
<li>Encryption at Rest (Client-Side)</li>
</ul>
</li>
</ol>
<h4 id="aws-organization">AWS Organization</h4>
<ul>
<li>Similar to IAM policy, we have SCP(Service control policies to define policy for aws accounts under the org account). Either apply SCP on Organization Unit(OU) or individual accounts.</li>
</ul>
<h4 id="three-ways-to-share-s3-bucket-across-accounts">Three ways to share S3 bucket across accounts</h4>
<ul>
<li>Using Bucket Policies(Bucket level) &amp; IAM (programmatic only)</li>
<li>Using Access Control List(object level) &amp; IAM (programmatic only)</li>
<li>Cross-Account IAM Roles ( Programmatic &amp; Console)</li>
</ul>
<h4 id="for-crrcross-region-replication">For CRR(Cross-Region Replication)</h4>
<ul>
<li>Versioning must be enabled for both source and destination buckets</li>
<li>Files in an existing bucket are not replicated. Only new files are replicated</li>
<li>All Subsequent updated will be replicated</li>
<li>Delete markers are not replicated</li>
</ul>
<h4 id="aws-storage-gateway">AWS Storage gateway</h4>
<ul>
<li>To communicate <strong>on-premise</strong> with <strong>AWS Cloud</strong></li>
<li>Three types<ul>
<li>FIle gateway</li>
<li>Volume gateway<ul>
<li><strong>Stored Volume</strong>: Entire data on site, but asynchronously backed up to S3</li>
<li><strong>Cached Volume</strong>: Entire data on S3, frequently accessed data alone on site.</li>
</ul>
</li>
<li>Tape gateway (VTL - Virtual Tape Library)</li>
</ul>
</li>
</ul>
<h4 id="athena">Athena</h4>
<ul>
<li>Used to run queries on S3 using SQL like language</li>
</ul>
<h4 id="macie">Macie</h4>
<ul>
<li>Uses AI to identify PII(Personal Identifiable Information) by analyzing the object's data in S3</li>
</ul>
<p>Continue reading <a target="_blank" href="https://blog.hellokarthic.com/aws-ec2-notes">Part 2 - AWS EC2</a>... </p>
]]></content:encoded></item></channel></rss>