<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AWS on CloudAid</title><link>https://www.cloudaid.net/blog/aws/</link><description>Recent content in AWS on CloudAid</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 11 Dec 2023 00:07:21 +0600</lastBuildDate><atom:link href="https://www.cloudaid.net/blog/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Understanding AWS Lambda Pricing - A Comprehensive Breakdown</title><link>https://www.cloudaid.net/blog/understanding-aws-lambda-pricing/</link><pubDate>Mon, 11 Dec 2023 00:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/understanding-aws-lambda-pricing/</guid><description>&lt;h5 id="introduction-to-aws-lambda"&gt;Introduction to AWS Lambda&lt;/h5&gt;&#10;&lt;p&gt;AWS Lambda runs your code in response to events and manages the compute underneath it. You don&amp;rsquo;t provision or patch servers, and you pay only while your code runs. That makes it a popular choice for teams that want to cut operational overhead.&lt;/p&gt;&#10;&lt;p&gt;The pricing is harder to predict than a flat hourly rate. Your bill depends on how many requests you serve, how long each one runs, and how much memory you give the function, so estimates take some work.&lt;/p&gt;</description></item><item><title>Top 5 Innovative Uses of AWS Lambda in Modern Web Applications</title><link>https://www.cloudaid.net/blog/innovative-uses-aws-lambda-web-applications/</link><pubDate>Mon, 04 Dec 2023 00:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/innovative-uses-aws-lambda-web-applications/</guid><description>&lt;h5 id="introduction"&gt;Introduction&lt;/h5&gt;&#10;&lt;p&gt;AWS Lambda is Amazon&amp;rsquo;s event-driven compute service. You write a function, attach it to an event source, and AWS runs it when the event fires. You don&amp;rsquo;t provision or patch servers.&lt;/p&gt;&#10;&lt;p&gt;Below are five ways teams use Lambda in web applications. For each one I cover the settings that matter in practice: concurrency, timeout, limits, and cost.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://www.cloudaid.net/img/blog/aws-lambda-use-cases-p2.webp" alt=""&gt;&lt;/p&gt;&#10;&lt;h5 id="use-case-1-real-time-data-processing"&gt;Use Case 1: Real-Time Data Processing&lt;/h5&gt;&#10;&lt;p&gt;Lambda fits well when you need to act on data the moment it arrives. You configure a trigger, such as a new record in a stream or a new object in a bucket, and your function runs on each event.&lt;/p&gt;</description></item><item><title>How to Install and Configure OpenVPN on EC2 Amazon Linux 2</title><link>https://www.cloudaid.net/blog/install-configure-openvpn-ec2-amazon-linux-2/</link><pubDate>Mon, 27 Nov 2023 00:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/install-configure-openvpn-ec2-amazon-linux-2/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;h5 id="openvpn-on-ec2"&gt;OpenVPN on EC2&lt;/h5&gt;&#10;&lt;p&gt;A VPN gives your team encrypted access to private network resources. OpenVPN is a mature, open-source option, and an EC2 instance running Amazon Linux 2 is a cheap place to host it. You get secure access to your network and can resize the instance as your team grows.&lt;/p&gt;&#10;&lt;h6 id="why-openvpn-on-amazon-ec2-linux-2"&gt;Why OpenVPN on Amazon EC2 Linux 2?&lt;/h6&gt;&#10;&lt;p&gt;Running OpenVPN on EC2 gives you:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Security&lt;/strong&gt;: OpenVPN uses strong encryption to tunnel your traffic.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Scalability and Flexibility&lt;/strong&gt;: You can move to a larger EC2 instance as your user count grows.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Cost-Effective&lt;/strong&gt;: With pay-as-you-go pricing, an EC2 instance can cost less than a traditional VPN appliance or service.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Customizable&lt;/strong&gt;: You can tune OpenVPN to match your security and network requirements.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;This guide covers prerequisites, installation, configuration, testing, hardening, and maintenance.&lt;/p&gt;</description></item><item><title>Is a T-Series Instance the Right Choice for My Website? Handling Traffic Spikes and Performance</title><link>https://www.cloudaid.net/blog/choosing-t-series-instances-for-website-traffic-management/</link><pubDate>Mon, 13 Nov 2023 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/choosing-t-series-instances-for-website-traffic-management/</guid><description>&lt;p&gt;The EC2 instance type you pick affects your website&amp;rsquo;s speed, reliability, and monthly bill. Amazon&amp;rsquo;s T-series instances give you a baseline level of CPU with the option to burst above it. Below is how that works, an example of a traffic spike, and how to decide whether T-series fits your site.&lt;/p&gt;&#10;&lt;h3 id="understanding-t-series-instances"&gt;Understanding T-Series Instances&lt;/h3&gt;&#10;&lt;h4 id="baseline-performance-and-cpu-credits"&gt;Baseline Performance and CPU Credits&lt;/h4&gt;&#10;&lt;p&gt;A T-series instance gives you a baseline level of CPU performance, enough for everyday load. While your CPU usage stays below that baseline, the instance earns CPU credits. It spends those credits when demand goes up.&lt;/p&gt;</description></item><item><title>EC2 T Series Uncovered - Mastering Burstable Instances for Optimal Performance and Savings</title><link>https://www.cloudaid.net/blog/mastering-ec2-t-series-burstable-instances/</link><pubDate>Mon, 06 Nov 2023 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/mastering-ec2-t-series-burstable-instances/</guid><description>&lt;p&gt;AWS burstable performance instances target workloads whose CPU use goes up and down. This post explains how they work and where they save you money.&lt;/p&gt;&#10;&lt;h4 id="understanding-workload-patterns"&gt;Understanding Workload Patterns&lt;/h4&gt;&#10;&lt;p&gt;Many general-purpose workloads sit at low average CPU with occasional spikes. On a fixed-performance instance, you pay for capacity that stays idle most of the day. The T instance family addresses this with a balance of compute, memory, and network resources at a lower price.&lt;/p&gt;</description></item><item><title>Understanding AWS EC2 Instance Types and Naming Conventions</title><link>https://www.cloudaid.net/blog/understanding-aws-ec2-instance-types-and-naming-conventions/</link><pubDate>Mon, 30 Oct 2023 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/understanding-aws-ec2-instance-types-and-naming-conventions/</guid><description>&lt;p&gt;AWS offers dozens of Elastic Compute Cloud (EC2) instance types, grouped by compute, memory, storage, and other traits. Once you can read an instance name, you can tell most of what an instance offers before opening the spec sheet.&lt;/p&gt;&#10;&lt;h4 id="instance-type-naming-convention"&gt;Instance Type Naming Convention&lt;/h4&gt;&#10;&lt;p&gt;Each part of an instance name tells you something: the family, generation, processor family, additional capabilities, and size.&lt;/p&gt;&#10;&lt;p&gt;Take &amp;lsquo;c7gn.xlarge&amp;rsquo;:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h6 id="c"&gt;c:&lt;/h6&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Instance family (Compute optimized)&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h6 id="7"&gt;7:&lt;/h6&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Instance generation&lt;/p&gt;</description></item><item><title>How to create Administrator user AWS</title><link>https://www.cloudaid.net/blog/how-to-create-administrator-user-aws/</link><pubDate>Sat, 18 Jul 2020 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/how-to-create-administrator-user-aws/</guid><description>&lt;p&gt;Using the root account for day-to-day work is risky. Create an administrator user instead:&lt;/p&gt;&#10;&lt;p&gt;1- Log in to your AWS account, search for IAM in the top menu, and click IAM.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://www.cloudaid.net/img/blog/how-to-create-administrator-user-AWS-000.webp" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;2- Click Users in the left menu.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://www.cloudaid.net/img/blog/how-to-create-administrator-user-AWS-100.webp" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;3- Enter a username and password, check “Password - AWS management console access”, then click “Next permission”.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://www.cloudaid.net/img/blog/how-to-create-administrator-user-AWS-101.webp" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;4- Choose “Attach existing policies directly” at the top, search for “admin” in the policy filter, check “AdministratorAccess”, then click “Next: Tags”.&lt;/p&gt;</description></item><item><title>How to setup Route53, CloudFront, S3 bucket for Static Website hosted on S3</title><link>https://www.cloudaid.net/blog/how-to-setup-route53-cloudfront-s3-for-static-website-aws/</link><pubDate>Sat, 18 Jul 2020 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/how-to-setup-route53-cloudfront-s3-for-static-website-aws/</guid><description>&lt;p&gt;1- Create your S3 bucket and upload your website content. The article linked below has more detail. Name the bucket after your domain:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.domain.com"&gt;www.domain.com&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Replace domain.com with your domain name.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.cloudaid.net/blog/permission-s3-bucket-static-website/"&gt;Permissions for static website on S3 bucket&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;2- Create a CloudFront distribution with the S3 bucket above as its origin. After it deploys, check that your website loads from the CloudFront URL, which looks like this:&lt;/p&gt;&#10;&lt;p&gt;fsdafsdf43f3f3f3.cloudfront.net&lt;/p&gt;&#10;&lt;p&gt;3- Create a certificate for your domain in ACM and choose DNS validation. For the domain names, enter:&lt;/p&gt;</description></item><item><title>Permissions for static website on S3 bucket</title><link>https://www.cloudaid.net/blog/permission-s3-bucket-static-website/</link><pubDate>Sat, 18 Jul 2020 10:07:21 +0600</pubDate><guid>https://www.cloudaid.net/blog/permission-s3-bucket-static-website/</guid><description>&lt;p&gt;1- Open your S3 bucket and choose the Permissions tab.&lt;/p&gt;&#10;&lt;p&gt;2- Under Block public access (bucket settings), choose Edit.&lt;/p&gt;&#10;&lt;p&gt;3- Clear Block all public access and choose Save changes.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://www.cloudaid.net/img/blog/edit-public-access-clear-s3-bucket-website.webp" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;4- Choose the Permissions tab.&lt;/p&gt;&#10;&lt;p&gt;5- Under Bucket Policy, choose Edit.&lt;/p&gt;&#10;&lt;p&gt;6- To grant public read access to your website, paste this policy into the Bucket policy editor:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;{&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Version&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;2012-10-17&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Statement&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;{&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Sid&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;PublicReadGetObject&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Effect&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Allow&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Principal&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;*&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Action&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;s3:GetObject&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;],&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Resource&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;arn:aws:s3:::Bucket-Name/*&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;}&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;}&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;7- Replace &amp;ldquo;Bucket-Name&amp;rdquo; in &lt;code&gt;&amp;quot;arn:aws:s3:::Bucket-Name/*&amp;quot;&lt;/code&gt; with your bucket name.&lt;/p&gt;</description></item></channel></rss>