<?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: Charisse C. Lorejo</title>
    <description>The latest articles on DEV Community by Charisse C. Lorejo (@cclorejo).</description>
    <link>https://dev.to/cclorejo</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%2F1984604%2F4303fd50-4926-41f0-a2f5-f93c81a482b9.jpg</url>
      <title>DEV Community: Charisse C. Lorejo</title>
      <link>https://dev.to/cclorejo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cclorejo"/>
    <language>en</language>
    <item>
      <title>fdxs</title>
      <dc:creator>Charisse C. Lorejo</dc:creator>
      <pubDate>Tue, 09 Dec 2025 20:35:02 +0000</pubDate>
      <link>https://dev.to/cclorejo/fdxs-4oel</link>
      <guid>https://dev.to/cclorejo/fdxs-4oel</guid>
      <description></description>
      <category>webdev</category>
    </item>
    <item>
      <title>Understand the Global Infrastructure of Amazon Web Services</title>
      <dc:creator>Charisse C. Lorejo</dc:creator>
      <pubDate>Wed, 12 Nov 2025 02:36:37 +0000</pubDate>
      <link>https://dev.to/cclorejo/understand-the-global-infrastructure-of-amazon-web-services-4n3p</link>
      <guid>https://dev.to/cclorejo/understand-the-global-infrastructure-of-amazon-web-services-4n3p</guid>
      <description>&lt;p&gt;As a beginner of AWS, one of the first things you do is to &lt;strong&gt;&lt;em&gt;pick a Region&lt;/em&gt;&lt;/strong&gt;. But why does this matter? What does &lt;strong&gt;&lt;em&gt;AWS Global Infrastructure&lt;/em&gt;&lt;/strong&gt; mean?&lt;/p&gt;

&lt;p&gt;It may seem little or even insignificant at first but AWS Global Infrastructure is the backbone to all AWS services. It is design to deliver high-speed and high-performance cloud services to all customers worldwide.&lt;/p&gt;

&lt;p&gt;We will discuss each major components of the AWS Global Infrastructure namely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Regions,&lt;/li&gt;
&lt;li&gt;Availability Zones, &lt;/li&gt;
&lt;li&gt;Data Centers, and &lt;/li&gt;
&lt;li&gt;Edge Locations&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What are the parts of the AWS Global Infrastructure?
&lt;/h2&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnm9ge6lbnwkked0hlm7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnm9ge6lbnwkked0hlm7.png" alt="The dots in the photo represents the regions" width="800" height="448"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.google.com/url?sa=i&amp;amp;url=https%3A%2F%2Fv1.maturitymodel.security.aws.dev%2Fen%2F1.-quickwins%2Fchoose-regions%2F&amp;amp;psig=AOvVaw3OMPqkl3uASsS9rYxcJu93&amp;amp;ust=1762996971206000&amp;amp;source=images&amp;amp;cd=vfe&amp;amp;opi=89978449&amp;amp;ved=0CBUQjRxqFwoTCKDR3dW565ADFQAAAAAdAAAAABAE" rel="noopener noreferrer"&gt;Image Source&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;As of 2025, AWS consists of about &lt;strong&gt;33 geographic Regions&lt;/strong&gt; across the global and even more coming in the future.&lt;br&gt;
Each Region is independent of the others. This separation allows you to choose where your data is stored and where your applications run.&lt;br&gt;
A Region is a separate geographic area—like Singapore, Tokyo, Frankfurt, or Ohio.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why is it important to choose the right Region?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To reduce latency&lt;/li&gt;
&lt;li&gt;To meet compliance or data-residency requirements&lt;/li&gt;
&lt;li&gt;To keep your services close to your users&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Availability Zones (AZs)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzeel8jfp2hk56hy98t9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzeel8jfp2hk56hy98t9.png" alt="Visiual representation of AZs" width="560" height="370"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.google.com/url?sa=i&amp;amp;url=https%3A%2F%2Fwww.techtarget.com%2Fsearchcloudcomputing%2Ftip%2FUnderstand-AWS-Regions-vs-Availability-Zones&amp;amp;psig=AOvVaw3bX9KKA3Z6be2sUdOS5B_I&amp;amp;ust=1762997780865000&amp;amp;source=images&amp;amp;cd=vfe&amp;amp;opi=89978449&amp;amp;ved=0CBUQjRxqFwoTCIjM59i865ADFQAAAAAdAAAAABAE" rel="noopener noreferrer"&gt;Image Source&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Now that we have an idea about region, we now have Availability Zones. Inside every region, there are multiple AZs, typically three(3) or more. An Availability Zone is made up of one or more physically separate data centers within the same Region.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Key Point:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Availability Zones are close enough to provide low latency, but far enough apart to prevent failures from affecting the whole Region.&lt;br&gt;
If one AZ goes down due to power, network, or natural disaster issues, the others remain available. This is why AWS is known for high reliability.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Data Centers&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Data centers are the physical buildings that contain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;servers&lt;/li&gt;
&lt;li&gt;networking equipment&lt;/li&gt;
&lt;li&gt;power and cooling systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS data centers house the actual computing hardware where your cloud resources run.&lt;br&gt;
Each AZ contains multiple data centers to ensure redundancy. When we say your "resources are in the cloud," they really live inside these secure facilities.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Visual Representation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5a4upnrooa3w4n0tvxii.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5a4upnrooa3w4n0tvxii.png" alt="The relationship of regions, AZs, and data centers" width="800" height="698"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.google.com/url?sa=i&amp;amp;url=https%3A%2F%2Fmedium.com%2F%40anandrishu1996%2Faws-global-infrastructure-availability-zones-regions-and-edge-locations-2e0e86b1f99a&amp;amp;psig=AOvVaw3bX9KKA3Z6be2sUdOS5B_I&amp;amp;ust=1762997780865000&amp;amp;source=images&amp;amp;cd=vfe&amp;amp;opi=89978449&amp;amp;ved=0CBUQjRxqFwoTCIjM59i865ADFQAAAAAdAAAAABAu" rel="noopener noreferrer"&gt;Image Source&lt;/a&gt;&lt;br&gt;
This is what the global infrastructure looks like. A region contains three or more AZs, and AZs have data centers that runs the cloud. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edge Locations&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Not every country has an AWS Region, but many countries, including the Philippines, have Edge Locations.&lt;br&gt;
Edge locations are used by services like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Amazon CloudFront (CDN)&lt;/li&gt;
&lt;li&gt;AWS Global Accelerator&lt;/li&gt;
&lt;li&gt;Route 53 DNS
They act as local access points that cache or route content closer to users.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Why does this matter?
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;It reduces latency. Instead of your data traveling all the way to the Singapore Region (the closest Region to the Philippines), some content can be served from the Manila edge location, making loading times faster.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why Do We Need to Understand These Concepts?
&lt;/h2&gt;

&lt;p&gt;Understanding the AWS Global Infrastructure helps you:&lt;br&gt;
&lt;strong&gt;1. Choose the Best Region for Your Workloads&lt;/strong&gt; - Selecting the wrong Region can lead to slow performance or higher costs. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Design Highly Available Applications&lt;/strong&gt; - Using multiple AZs protects your systems from outages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Improve Performance for Global Users&lt;/strong&gt; - Edge locations help content reach users faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Meet Compliance and Legal Requirements&lt;/strong&gt; - Some countries require data to be stored within specific geographic boundaries.&lt;br&gt;
being aware of this can save money.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Optimize Cost&lt;/strong&gt; - Prices vary per Region—being aware of this can save money.&lt;/p&gt;




&lt;p&gt;By understanding how Regions, Availability Zones, Data Centers, and Edge Locations work together, users can design cloud solutions that are faster, more secure, and more reliable.&lt;/p&gt;

&lt;p&gt;Whether you’re deploying a small web app or managing enterprise-scale systems, knowing how AWS’s infrastructure operates gives you the power to make smarter choices about performance, cost, and resilience in the cloud.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>Going Serverless 🤖⚡: How to Launch a Website in less than 15 minutes with AWS Lambda &amp; API Gateway (Beginner-Friendly!)</title>
      <dc:creator>Charisse C. Lorejo</dc:creator>
      <pubDate>Thu, 24 Apr 2025 14:49:36 +0000</pubDate>
      <link>https://dev.to/up_min_sparcs/going-serverless-how-to-launch-a-website-in-less-than-15-minutes-with-aws-lambda-api-gateway-4543</link>
      <guid>https://dev.to/up_min_sparcs/going-serverless-how-to-launch-a-website-in-less-than-15-minutes-with-aws-lambda-api-gateway-4543</guid>
      <description>&lt;p&gt;This article is co-authored with &lt;a class="mentioned-user" href="https://dev.to/siosanac"&gt;@siosanac&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing Amazon Web Services Lambda
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is AWS Lambda? 🤔&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Lambda is a serverless computing service made by Amazon Web Services (AWS). It lets you run code without managing the servers~! Lambda automatically scales depending on the number of incoming requests, and you pay only for the compute time used only.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How does it work? 💡&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Lambda is a serverless, event-driven compute service that lets you run code in response to events without managing servers. You write single-purpose functions, upload them, and configure triggers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why use AWS Lambda?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now by now you’re still probably not convinced about how lambda can help you 😔. Here are the reasons why many developers chose to use Lamda for building modern cloud-based apps.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;No Server Management!&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You don’t need to waste your time by maintaining, provisioning, or patching your servers. AWS handles all of the infrastructure’s scaling and availability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Cost-Efficiency&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;With this service, you only pay for what you use. That means there will be no charge when you don’t use the utilities. You can be charged for every millisecond of runtime. Lastly, if you need even more resources, Lambda can scale automatically if you want to.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Pricing for Lambda
&lt;/h2&gt;

&lt;p&gt;Lambda has a &lt;em&gt;&lt;strong&gt;free tier&lt;/strong&gt;&lt;/em&gt; if you want to experiment with Lambda, it allows you to have 1 million requests per month and this will reset for the other month and then it gives you 400, 000 GB-seconds of computer time per month. &lt;/p&gt;

&lt;p&gt;Now if you’re done with experimenting, and you want to get serious the request charge is $0.20 per 1 million requests, Computing charge is $0.0000166667 per GB-second. There’s also an option where you can “rent” a fixed amount of resources it’s called the Ephemeral Storage. &lt;/p&gt;

&lt;h2&gt;
  
  
  Creating an AWS Account
&lt;/h2&gt;

&lt;p&gt;If you still do not have an Amazon Web Services account, go to this &lt;a href="https://dev.to/briansuarezsantiago/how-to-create-a-free-aws-account-and-understand-the-free-tier-a-beginners-guide-1dhl"&gt;article&lt;/a&gt; for a step-by-step guide to start. &lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a Lambda Function
&lt;/h2&gt;

&lt;p&gt;Now let’s start on creating a Lambda Function! Navigate your AWS Console and search for Lambda in the search bar.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkkp0uhlf3hs47pjd6zwc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkkp0uhlf3hs47pjd6zwc.png" alt="Creating Lambda Function-1" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, click on the &lt;strong&gt;“Create Function”&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcd87ju06zjgez97zhvjm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcd87ju06zjgez97zhvjm.png" alt="Creating Lambda Function-2" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that, you can name your function anything you want. You can pick any language you prefer in the Runtime and set the Architecture as is, which is &lt;strong&gt;x86_64&lt;/strong&gt;. Scroll down and let’s create our function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofansxhl8m6lah33pnqo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofansxhl8m6lah33pnqo.png" alt="Creating Lambda Function-3" width="800" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fllgwckjpfxpboqyb6enr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fllgwckjpfxpboqyb6enr.png" alt="Creating Lambda Function-4" width="800" height="129"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have created your function, this will look something like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm06gu534opo5kyu3niyk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm06gu534opo5kyu3niyk.png" alt="Creating Lambda Function-5" width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scroll down and you can see that there is a Code source. This is where you will put your code snippet and perform operations for your website. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Default Code:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export const handler = async (event) =&amp;gt; {
  // TODO implement
  const response = {
    statusCode: 200,
    body: JSON.stringify('Hello from Lambda!'),
  };
  return response;
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7j6o97b4z3p89482k5k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7j6o97b4z3p89482k5k.png" alt="Creating Lambda Function-6" width="800" height="337"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is still incomplete, for this lambda function to do anything, you must add a trigger first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding a Trigger
&lt;/h2&gt;

&lt;p&gt;Scroll back up and press the add trigger button. For the trigger configuration, select the API Gateway and create a new API. Make sure that it is an HTTP API and configure the security to be open. For now, let the additional settings be on default and add your trigger.&lt;/p&gt;

&lt;p&gt;Once you have created your function, this will look something like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4yojck1pp9wj7w8qq8vw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4yojck1pp9wj7w8qq8vw.png" alt="Adding a Trigger-1" width="800" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2mslu7e912tyn43emopl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2mslu7e912tyn43emopl.png" alt="Adding a Trigger-2" width="800" height="114"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have added your trigger, scroll down and on the left-hand side, click Trigger, and you should see that you have an API endpoint with a corresponding URL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffjzb5omwtk93rjqq78xz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffjzb5omwtk93rjqq78xz.png" alt="Adding a Trigger-3" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you go to that URL, you might see something like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0fkx5iox1lmkr7imf231.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0fkx5iox1lmkr7imf231.png" alt="Adding a Trigger-4" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see the “Hello from Lambda!” printed out on your page. This is essentially a static website at its simplest level. What is important here is that we have created a trigger for the API gateway so that our Lambda function is exposed to the Internet. Lambda functions can't be called directly via HTTP. API Gateway gives you a RESTful or HTTP endpoint to trigger your Lambda.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Remember:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;API Gateway acts like a "bridge"&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Static Website: Your frontend, hosted on S3 or other static hosting&lt;/li&gt;
&lt;li&gt;API Gateway: The public HTTP endpoint your website can call &lt;/li&gt;
&lt;li&gt;Lambda Function: The backend logic, triggered when API Gateway receives a request&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now let’s create our static website with HTML and CSS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the HTML and CSS of the Static Website
&lt;/h2&gt;

&lt;p&gt;Go back to your Lambda Function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F91nvq3rrdz2xvkk0kilm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F91nvq3rrdz2xvkk0kilm.png" alt="Building Website-1" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the bottom left of your browser, click on Code so that you can modify the default code given.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc92jdwsxenklubnygzqq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc92jdwsxenklubnygzqq.png" alt="Building Website-2" width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Replace the default code with this code snippet:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export const handler = async (event) =&amp;gt; {
  const html = `
    &amp;lt;!DOCTYPE html&amp;gt;
    &amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
      &amp;lt;meta charset="UTF-8" /&amp;gt;
      &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"/&amp;gt;
      &amp;lt;title&amp;gt;Writers of This Article&amp;lt;/title&amp;gt;
      &amp;lt;style&amp;gt;
        body {
          margin: 0;
          font-family: 'Courier New', Courier, monospace;
          background-color: #1e1e1e;
          color: #d4d4d4;
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 2rem 1rem;
        }
        h1 {
          color: #0f0;
          font-size: 2rem;
          margin-bottom: 2rem;
          border-bottom: 2px solid #3c3c3c;
          padding-bottom: 0.5rem;
          text-align: center;
        }
        .cards-container {
          display: flex;
          flex-wrap: wrap;
          gap: 2rem;
          justify-content: center;
          width: 100%;
          max-width: 1200px;
        }
        .terminal-loader {
          border: 0.1em solid #333;
          background-color: #1a1a1a;
          color: #0f0;
          font-family: "Courier New", Courier, monospace;
          font-size: 1em;
          padding: 1.5em 1em;
          width: 100%;
          max-width: 30em;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          border-radius: 4px;
          position: relative;
          overflow: hidden;
          box-sizing: border-box;
        }
        .terminal-header {
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 1.5em;
          background-color: #333;
          border-top-left-radius: 4px;
          border-top-right-radius: 4px;
          padding: 0 0.4em;
          box-sizing: border-box;
        }
        .terminal-controls {
          float: right;
        }
        .control {
          display: inline-block;
          width: 0.6em;
          height: 0.6em;
          margin-left: 0.4em;
          border-radius: 50%;
          background-color: #777;
        }
        .control.close { background-color: #e33; }
        .control.minimize { background-color: #ee0; }
        .control.maximize { background-color: #0b0; }
        .terminal-title {
          float: left;
          line-height: 1.5em;
          color: #eee;
        }
        .text {
          display: inline-block;
          white-space: nowrap;
          overflow: hidden;
          border-right: 0.2em solid green;
          animation:
            typeAndDelete 4s steps(11) infinite,
            blinkCursor 0.5s step-end infinite alternate;
          margin-top: 1.5em;
        }
        .text-1 {
          display: block;
          white-space: normal;
          margin-top: 0.5em;
          color: #d4d4d4;
        }
        @keyframes blinkCursor {
          50% {
            border-right-color: transparent;
          }
        }
        @keyframes typeAndDelete {
          0%, 10% { width: 0; }
          45%, 55% { width: 10em; }
          90%, 100% { width: 0; }
        }
        @media (max-width: 768px) {
          .text {
            white-space: normal;
            animation: none;
            border-right: none;
          }
          .terminal-loader {
            width: 100%;
          }
        }
      &amp;lt;/style&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
      &amp;lt;h1&amp;gt;Writers of This Article&amp;lt;/h1&amp;gt;
      &amp;lt;div class="cards-container"&amp;gt;
        &amp;lt;div class="terminal-loader"&amp;gt;
          &amp;lt;div class="terminal-header"&amp;gt;
            &amp;lt;div class="terminal-title"&amp;gt;Writer 1:&amp;lt;/div&amp;gt;
            &amp;lt;div class="terminal-controls"&amp;gt;
              &amp;lt;div class="control close"&amp;gt;&amp;lt;/div&amp;gt;
              &amp;lt;div class="control minimize"&amp;gt;&amp;lt;/div&amp;gt;
              &amp;lt;div class="control maximize"&amp;gt;&amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
          &amp;lt;/div&amp;gt;
          &amp;lt;div class="text"&amp;gt;Cerdic Siosana...&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Level: 2nd year BSCS&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Hobbies: Writing, Coding, Gaming&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Motto:&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;You lost at the moment&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;you decided to quit.&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;div class="terminal-loader"&amp;gt;
          &amp;lt;div class="terminal-header"&amp;gt;
            &amp;lt;div class="terminal-title"&amp;gt;Writer 2:&amp;lt;/div&amp;gt;
            &amp;lt;div class="terminal-controls"&amp;gt;
              &amp;lt;div class="control close"&amp;gt;&amp;lt;/div&amp;gt;
              &amp;lt;div class="control minimize"&amp;gt;&amp;lt;/div&amp;gt;
              &amp;lt;div class="control maximize"&amp;gt;&amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
          &amp;lt;/div&amp;gt;
          &amp;lt;div class="text"&amp;gt;Charisse Lorejo...&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Level: 1st year BSCS&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Hobbies: Drawing, Coding, Driving&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
          &amp;lt;div class="text-1"&amp;gt;Motto:&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Yesterday is history,&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;tomorrow is a mystery,&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;but today is a gift.&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;That is why it is called the present.&amp;lt;br&amp;gt;
            &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;- Master Oogway&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
    &amp;lt;/html&amp;gt;
  `;

  return {
    statusCode: 200,
    headers: {
      'Content-Type': 'text/html',
    },
    body: html,
  };
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, deploy the changes. If you go back to the same URL and refresh the website. It should display our new and improved website.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke793jvcd3wh4ttabh71.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke793jvcd3wh4ttabh71.png" alt="Building Website-3" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There you go! A step-by-step guide to creating a static website using AWS Lambda!&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;AWS Lambda is a great beginner tool for you to explore Amazon Web Services. There are a lot more that you can use AWS Lambda aside from creating a static website. Moreover, you can also explore other tools that AWS has to offer, like functions for you to run when a trigger is activated by other AWS services–&lt;strong&gt;&lt;em&gt;NO SERVERS NEEDED&lt;/em&gt;&lt;/strong&gt; and also technologies like Elastic Cloud Compute(EC2) for servers, Amazon Simple Storage Service (S3) for storage, and many more waiting for you to be discovered!&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/pm/lambda/?trk=cc9d3bb4-0a21-43d0-8236-0f2deaffe082&amp;amp;sc_channel=ps&amp;amp;ef_id=Cj0KCQjwtpLABhC7ARIsALBOCVomw4hHxtDsLhA-gC8VEHf8QrQMasBcqSJuST0DnVYKHLwgTofDEb0aAkzGEALw_wcB:G:s&amp;amp;s_kwcid=AL!4422!3!651510255294!e!!g!!aws%20lambda!19828212645!149982299751&amp;amp;gclid=Cj0KCQjwtpLABhC7ARIsALBOCVomw4hHxtDsLhA-gC8VEHf8QrQMasBcqSJuST0DnVYKHLwgTofDEb0aAkzGEALw_wcB" rel="noopener noreferrer"&gt;Serverless Computing - AWS Lambda&lt;/a&gt;&lt;br&gt;
&lt;a href="https://youtu.be/MoupNut6HMM?t=35" rel="noopener noreferrer"&gt;How to Make a Serverless Website with AWS Lambda (for free)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/arbythecoder/beginners-guide-to-building-a-serverless-website-with-aws-lambda-and-api-gateway-1o6n?fbclid=IwZXh0bgNhZW0CMTEAAR6ePe8XxLxjwVP8lzXwzDDkFPcs-h-YfHZGS1FoyRLcG61FuHih1hvTHS9cZg_aem_8g692H3oqmbmUGzhTJlmtA"&gt;Beginners Guide To Building a Serverless Website with AWS Lambda and API Gateway&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/arbythecoder/beginners-guide-to-building-a-serverless-website-with-aws-lambda-and-api-gateway-1o6n?fbclid=IwZXh0bgNhZW0CMTEAAR6ePe8XxLxjwVP8lzXwzDDkFPcs-h-YfHZGS1FoyRLcG61FuHih1hvTHS9cZg_aem_8g692H3oqmbmUGzhTJlmtA"&gt;How to create a FREE AWS account and understand the Free Tier: A beginner's guide&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>lambda</category>
      <category>serverless</category>
      <category>website</category>
    </item>
  </channel>
</rss>
