<?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: Giriraj Roy</title>
    <description>The latest articles on DEV Community by Giriraj Roy (@girirajroy).</description>
    <link>https://dev.to/girirajroy</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%2F764093%2F32d325b9-3066-42a7-96dc-ebc961f2cef5.jpg</url>
      <title>DEV Community: Giriraj Roy</title>
      <link>https://dev.to/girirajroy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/girirajroy"/>
    <language>en</language>
    <item>
      <title>Cloud Computing #Day5</title>
      <dc:creator>Giriraj Roy</dc:creator>
      <pubDate>Sun, 14 Aug 2022 11:10:14 +0000</pubDate>
      <link>https://dev.to/girirajroy/cloud-computing-day5-37fj</link>
      <guid>https://dev.to/girirajroy/cloud-computing-day5-37fj</guid>
      <description>&lt;p&gt;In this module I will throw light on the &lt;strong&gt;AWS Global Infastructure&lt;/strong&gt;, that is built by availibity zones or regions followed by the edge locations that serve as cached copies for faster delivery.&lt;/p&gt;

&lt;h2&gt;
  
  
  Availibility Zones
&lt;/h2&gt;

&lt;p&gt;An Availability Zone is a single data center or a group of data centers within a Region. Availability Zones are located tens of miles apart from each other. This is close enough to have &lt;strong&gt;low latency (the time between when content requested and received)&lt;/strong&gt; between Availability Zones. However, if a disaster occurs in one part of the Region, they are distant enough to reduce the chance that multiple Availability Zones are affected. This particular advantage serves as the main purpose of the defined infastructure.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a6Jdhzgw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/184368795-b8da8775-0c55-4a81-9c1d-be79992a6544.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a6Jdhzgw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/184368795-b8da8775-0c55-4a81-9c1d-be79992a6544.png" alt="image" width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The above diagram clearly explains the infastructure of availibility zones (like us-west-1a) within regions (say, N.California) and how they are related within a small distance to maintain low latency.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Planning for failure and deploying applications across multiple Availability Zones is an important part of building a resilient and highly available architecture.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Amazon CloudFront and Edge locations
&lt;/h3&gt;

&lt;p&gt;An edge location is a site that &lt;strong&gt;Amazon CloudFront&lt;/strong&gt; uses to store cached copies of your content closer to your customers for &lt;strong&gt;faster delivery.&lt;/strong&gt; Hence along with the discussion of these caching locations comes Amazon CloudFront, a web service that speeds up distribution of static and dynamic web content, such as .html, .css, .js, and image files, to the users. When a user requests content that you're serving with CloudFront, the request is routed to the edge location that &lt;strong&gt;provides the lowest latency&lt;/strong&gt; (time delay), so that content is delivered with the best possible performance.&lt;/p&gt;

&lt;p&gt;I won't dive deep into the CloudFront business instead I will attach a diagram related to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XNGvifsk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/184533099-d46c9caa-f2a9-4bcd-8661-2ae09f53ef31.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XNGvifsk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/184533099-d46c9caa-f2a9-4bcd-8661-2ae09f53ef31.png" alt="image" width="598" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Interacting with AWS Services
&lt;/h2&gt;

&lt;p&gt;In AWS, &lt;strong&gt;everything is an API call&lt;/strong&gt; (an API is an application programming interface). And what that means is, there are pre determined ways for you to interact with AWS services. And you can invoke or call these APIs to provision, configure, and manage your AWS resources. &lt;br&gt;
For example, you can launch an EC2 instance or you can create an AWS Lambda function. Each of those would be different requests and different API calls to AWS. You can use the &lt;strong&gt;AWS Management Console, the AWS Command Line Interface, the AWS Software Development Kits,&lt;/strong&gt; or various other tools like AWS CloudFormation, to create requests to send to AWS APIs to create and manage AWS resources. &lt;/p&gt;

&lt;h4&gt;
  
  
  The AWS Management Console
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;The AWS Management Console is a web-based interface for accessing and managing AWS services.&lt;/li&gt;
&lt;li&gt;You can quickly &lt;strong&gt;access recently used services&lt;/strong&gt; and search for other services by name, keyword, or acronym.&lt;/li&gt;
&lt;li&gt;The console includes wizards and automated workflows that can simplify the process of completing tasks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  The AWS Command Line Interface
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;To save time when making API requests, you can use the AWS Command Line Interface (AWS CLI).&lt;/li&gt;
&lt;li&gt;AWS CLI enables you to &lt;strong&gt;control multiple AWS services directly&lt;/strong&gt; from the command line within one tool.&lt;/li&gt;
&lt;li&gt;By using AWS CLI, you can automate the actions that your services and applications perform through scripts. &lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Software Development Kits (SDKs)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;SDKs make it easier for you to use AWS services through an API designed for your programming language or platform.&lt;/li&gt;
&lt;li&gt;SDKs enable you to &lt;strong&gt;use AWS services with your existing applications&lt;/strong&gt; or create entirely new applications that will run on AWS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Amazon Elastic BeanStalk
&lt;/h3&gt;

&lt;p&gt;AWS Elastic Beanstalk is a service that helps you provision Amazon EC2-based environments. With AWS Elastic Beanstalk, you provide code and configuration settings, and Elastic Beanstalk deploys the resources necessary to perform the following tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Adjust capacity&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Load balancing&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Automatic scaling&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Application health monitoring&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Using IAAS as AWS CloudFormation
&lt;/h3&gt;

&lt;p&gt;AWS CloudFormation provisions your resources in a safe, repeatable manner, enabling you to frequently build your infrastructure and applications without having to perform manual actions. It determines the right operations to perform when managing your stack and rolls back changes automatically if it detects errors.&lt;/p&gt;

&lt;p&gt;The next day will be describing how amazing the networking is carried out in AWS, the &lt;strong&gt;Subnets and Security groups&lt;/strong&gt; oh its just awesome &lt;strong&gt;!!!&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Happy Coding ☕☕
&lt;/h2&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>computing</category>
    </item>
    <item>
      <title>Cloud Computing #Day4</title>
      <dc:creator>Giriraj Roy</dc:creator>
      <pubDate>Mon, 08 Aug 2022 05:58:10 +0000</pubDate>
      <link>https://dev.to/girirajroy/cloud-computing-day4-4l53</link>
      <guid>https://dev.to/girirajroy/cloud-computing-day4-4l53</guid>
      <description>&lt;p&gt;In this article I will try to quickly cover the Amazon Messaging and Queuing services, and explore the lands of a few more additional services.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Flaw:
&lt;/h3&gt;

&lt;p&gt;In the process of accepting instructions or requirements to passing the requirements to the server both the systems will have to be on sync. At some point of time if the synchronisation is affected due to any unavoidable reason, such as the server is down the whole process stops and cannot proceed further. A much better process would be to introduce some sort of buffer or queue into the system. Hence the server or instance instead of handing the instructions directly would follow some sort of buffer, like an order board in a restaurant and the chef being the instance.  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The idea of placing messages into a buffer is called messaging and queuing.&lt;/strong&gt;  &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ibD7dv6p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239065-f1054a9e-e0ec-4b2c-903e-b95513f040e6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ibD7dv6p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239065-f1054a9e-e0ec-4b2c-903e-b95513f040e6.png" alt="image" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is where AWS introduced a message queue. Messages are sent into the queue by Application A and they are processed by Application B. If Application B fails, Application A doesn't experience any disruption. Messages being sent can still be sent to the queue and will remain there until they are eventually processed. &lt;strong&gt;They are loosely coupled.&lt;/strong&gt; This is what AWS aims to achieve with its architectures. And eventually brings me to two AWS services that can assist in this regard:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Amazon Simple Queue Service or SQS&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Simple Notification Service or SNS.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--s4yuaEHy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239022-cd1f53a0-be94-426f-ba42-a008c78231b2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--s4yuaEHy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239022-cd1f53a0-be94-426f-ba42-a008c78231b2.png" alt="image" width="800" height="118"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Monolithic Application And Microservices
&lt;/h2&gt;

&lt;p&gt;Applications are made of multiple components. The components communicate with each other to transmit data, fulfill requests, and keep the application running.&lt;/p&gt;

&lt;p&gt;Now we have two approaches to combine the elements. The &lt;strong&gt; Monolithic Architecture &lt;/strong&gt; where the components including databases, servers, the user interface, business logic, all are tightly coupled. In this approach to application architecture, if a single component fails, other components fail, and possibly the entire application fails.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gLN-7kjR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239311-c2706474-5e89-4880-89d6-af8904fbfff6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gLN-7kjR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239311-c2706474-5e89-4880-89d6-af8904fbfff6.png" alt="image" width="800" height="773"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second approach &lt;strong&gt;aims to help maintain application availability when a single component fails&lt;/strong&gt;, that is you can design your application through a microservices. In a microservices approach, application components are loosely coupled. The loose coupling prevents the entire application from failing. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fDNsLHBi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239412-8b2bb1ce-9abc-44ac-b31d-9176af662d4e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fDNsLHBi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183239412-8b2bb1ce-9abc-44ac-b31d-9176af662d4e.png" alt="image" width="800" height="778"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When designing applications on AWS, it is advisable to take a microservices approach with services and components that fulfill different functions. Two services facilitate application integration i.e. Applicatoin A and Application B in the previous example are: Amazon Simple Notification Service &lt;strong&gt;(Amazon SNS)&lt;/strong&gt; and Amazon Simple Queue Service &lt;strong&gt;(Amazon SQS)&lt;/strong&gt; approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon Simple Notification Service (Amazon SNS)
&lt;/h2&gt;

&lt;p&gt;Amazon Simple Notification Service (Amazon SNS) is a publish/subscribe service. Using Amazon SNS topics, a publisher publishes messages to subscribers.&lt;/p&gt;

&lt;p&gt;In Amazon SNS, &lt;strong&gt;subscribers can be web servers, email addresses, AWS Lambda functions,&lt;/strong&gt; or several other options. &lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon Simple Queue Service (Amazon SQS)
&lt;/h2&gt;

&lt;p&gt;Amazon Simple Queue Service (Amazon SQS) is a message queuing service.&lt;br&gt;&lt;br&gt;
Using Amazon SQS, you can send, store, and receive messages between software components, without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue.&lt;/p&gt;

&lt;h3&gt;
  
  
  Serverless Computing
&lt;/h3&gt;

&lt;p&gt;I would like to revisit the topic of serverless computing, which is a service that lets you run virtual servers in the cloud. The term &lt;strong&gt;“serverless”&lt;/strong&gt; means that your code runs on servers, but you do not need to provision or manage these servers. With serverless computing, you can focus more on innovating new products and features instead of maintaining servers. Another benefit of serverless computing is the &lt;strong&gt;flexibility to scale&lt;/strong&gt; serverless applications automatically. Serverless computing can &lt;strong&gt;adjust the applications' capacity by modifying the units of consumptions, such as throughput and memory.&lt;/strong&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An AWS service for serverless computing is &lt;strong&gt;AWS Lambda.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  AWS Lambda
&lt;/h3&gt;

&lt;p&gt;AWS Lambda is a serverless compute service that runs the code in response to events and &lt;strong&gt;automatically manages the underlying compute resources for the client&lt;/strong&gt;. These events may include changes in state or an update, multiple events, such as HTTP requests via Amazon API Gateway, modifications to objects in Amazon Simple Storage Service (Amazon S3) buckets, table updates in Amazon DynamoDB, and state transitions in AWS Step Functions. AWS Lambda can be used to extend other AWS services with custom logic, or create your own backend services that operate at AWS scale, performance, and security.&lt;/p&gt;

&lt;p&gt;Lambda has its key highlights including server and operating system maintenance, capacity provisioning and automatic scaling, code and security patch deployment, and code monitoring and logging.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Lambda Works
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aG65ACGw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183347003-fcbcb234-ee25-4573-8910-28e1aca5e1cc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aG65ACGw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183347003-fcbcb234-ee25-4573-8910-28e1aca5e1cc.png" alt="image" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another additional service is &lt;strong&gt;Containerization&lt;/strong&gt; of applications.&lt;/p&gt;

&lt;h3&gt;
  
  
  Containers
&lt;/h3&gt;

&lt;p&gt;Containers provide you with a standard way to package your application's code and dependencies into a single object. It is the orchestration service that helps you to deploy, manage, and scale your containerized applications. They smoothen the workflow with security, reliability and scalability.&lt;/p&gt;

&lt;p&gt;Amazon provides two containerized services :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Elastic Container Service (Amazon ECS) : &lt;/strong&gt;
This is a highly scalable, high-performance container management system that enables you to run and scale containerized applications on AWS. &lt;strong&gt;Amazon ECS supports Docker containers.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Elastic Kubernetes Service (Amazon ECS) : &lt;/strong&gt;
This is a fully managed service that you can use to run Kubernetes on AWS. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also another service &lt;strong&gt;AWS Fargate&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WaghVKb1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183348897-b5b7a089-6633-4012-be2b-df9de6dc88d5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WaghVKb1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/183348897-b5b7a089-6633-4012-be2b-df9de6dc88d5.png" alt="image" width="800" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AWS Fargate is a serverless compute engine for containers. It works with both Amazon ECS and Amazon EKS. &lt;br&gt;
When using AWS Fargate, you do not need to provision or manage servers. &lt;strong&gt;AWS Fargate manages your server infrastructure for you.&lt;/strong&gt; You can focus more on innovating and developing your applications, and you pay only for the resources that are required to run your containers.&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>microservices</category>
      <category>serverless</category>
    </item>
    <item>
      <title>Cloud Computing #Day 3</title>
      <dc:creator>Giriraj Roy</dc:creator>
      <pubDate>Thu, 04 Aug 2022 06:45:02 +0000</pubDate>
      <link>https://dev.to/girirajroy/cloud-computing-day-3-17de</link>
      <guid>https://dev.to/girirajroy/cloud-computing-day-3-17de</guid>
      <description>&lt;p&gt;We are here on the third day of the exciting cloud voyage where waves of Scaling and Elastic Load Balancing will be clashing so beautifully. So what is scaling or scalability?&lt;/p&gt;

&lt;h2&gt;
  
  
  Scalability
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Scalability&lt;/strong&gt; involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in. That is to say it will &lt;strong&gt;monitor&lt;/strong&gt; the application and automatically adjust capacity to maintain steady, predictable performance at the lowest possible cost which is infact &lt;strong&gt;Amazon EC2 Auto Scaling&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--g5VkZwSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182364597-98d0dd42-abeb-43e7-8c83-fbfae095cc26.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--g5VkZwSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182364597-98d0dd42-abeb-43e7-8c83-fbfae095cc26.png" alt="image" width="800" height="763"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon EC2 Auto Scaling
&lt;/h2&gt;

&lt;p&gt;Amazon EC2 Auto Scaling enables you to &lt;strong&gt;automatically add or remove&lt;/strong&gt; Amazon EC2 instances in response to changing application demand. By automatically scaling instances in and out as needed, a greater sense of application availability can be maintained.&lt;/p&gt;

&lt;p&gt;This gets even more exciting when we can use two approaches: &lt;strong&gt;dynamic scaling&lt;/strong&gt; and &lt;strong&gt;predictive scaling&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic scaling&lt;/strong&gt; responds to changing demand. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predictive scaling&lt;/strong&gt; automatically schedules the right number of Amazon EC2 instances based on predicted demand.&lt;/li&gt;
&lt;/ul&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Pro Tip:&lt;/em&gt;&lt;/strong&gt; Dynamic Scaling and Predictive Scaling can be used together for faster scaling&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Diving Deeper
&lt;/h3&gt;

&lt;p&gt;In the cloud, computing power is a programmatic resource, by adding Amazon EC2 Auto Scaling to an application, new EC2 instances can be added to the application when necessary and terminate them when no longer needed.&lt;/p&gt;

&lt;h4&gt;
  
  
  Working Principle &amp;gt;&amp;gt;
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Kfb45i7_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182369531-74a51659-b6af-4baf-9d9d-d526121c09a8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Kfb45i7_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182369531-74a51659-b6af-4baf-9d9d-d526121c09a8.png" alt="image" width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When preparing to launch an application on Amazon EC2 instance and configuring the size of the Auto Scaling group, you might set the minimum number of Amazon EC2 instances at one. This means that at all times, there must be at least one Amazon EC2 instance running. This is the &lt;strong&gt;minimum capacity&lt;/strong&gt;, the number of Amazon EC2 instances that launch immediately after you have created the Auto Scaling group.&lt;/p&gt;

&lt;p&gt;The second configuration that can be set is &lt;strong&gt;Desired Capacity&lt;/strong&gt;, which is set to minimum capacity by default if it is not explicitly set.&lt;/p&gt;

&lt;p&gt;There is also the configuration of setting the maximum capacity to configure the Auto Scaling Group in response to increased demand.&lt;/p&gt;

&lt;h3&gt;
  
  
  Chalking out the Benefits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Setup scaling quickly&lt;/strong&gt; 
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS Auto Scaling lets you set target utilization levels for multiple resources in a single, intuitive interface. You can quickly see the average utilization of all of your scalable resources without having to navigate to other consoles.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Make smart scaling decisions&lt;/strong&gt; 
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS Auto Scaling monitors your application and automatically adds or removes capacity from your resource groups in real-time as demands change.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Automatically maintain performance&lt;/strong&gt; 
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Using AWS Auto Scaling, you maintain optimal application performance and availability, even when workloads are periodic, unpredictable, or continuously changing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Cost Effective&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS Auto Scaling can help you optimize your utilization and cost efficiencies when consuming AWS services so you only pay for the resources you actually need&lt;/p&gt;

&lt;h2&gt;
  
  
  Elastic Load Balancing
&lt;/h2&gt;

&lt;p&gt;This is the AWS service that &lt;strong&gt;automatically distributes the incoming application traffic to multiple resources&lt;/strong&gt; like Amazon EC2 instances. It monitors the health of its registered targets, and routes traffic only to the healthy targets.&lt;br&gt;&lt;br&gt;
The load balancer acts as a single point of contact betwwen the incoming traffic and the Auto Scaling Group. Although Elastic Load Balancing and Amazon EC2 Auto Scaling are separate services, they work together to help ensure that applications running in Amazon EC2 can provide high performance and availability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--005QRRvq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182775473-a34280c8-5046-4867-bc10-3c37b6b3371e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--005QRRvq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182775473-a34280c8-5046-4867-bc10-3c37b6b3371e.png" alt="image" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The way Elastic Load Balancer toggles the number of instances between High Demand Period and Low Demand Period is essential. Whenever there is a new instance in the network it will only have to send the signal to the load balancer instead of all the sources.&lt;/p&gt;

&lt;p&gt;There are three different types of Load balancers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Application Load Balancer&lt;/li&gt;
&lt;li&gt;Gateway Load Balancer&lt;/li&gt;
&lt;li&gt;Network Load Balancer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dFZ0_713--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779665-727eebf8-3552-4fff-ab88-e91233ca2c30.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dFZ0_713--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779665-727eebf8-3552-4fff-ab88-e91233ca2c30.png" width="208" height="212"&gt;&lt;/a&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5OrL1HHg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779137-28cceb38-eb82-4f01-89fe-971d7cd2fa40.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5OrL1HHg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779137-28cceb38-eb82-4f01-89fe-971d7cd2fa40.png" alt="" width="213" height="184"&gt;&lt;/a&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I04B1kh0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779477-6a7b70ff-7e5a-4b88-9363-1a9f60e49a66.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I04B1kh0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182779477-6a7b70ff-7e5a-4b88-9363-1a9f60e49a66.png" width="211" height="237"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Use Cases
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Modernize applications with serverless and containers : &lt;/strong&gt; Scale modern applications to meet demand without complex configurations or API gateways.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improve hybrid cloud network scalability : &lt;/strong&gt; Load balance across AWS and on-premises resources using a single load balancer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retain your existing network appliances : &lt;/strong&gt; Deploy network appliances from your preferred vendor while taking advantage of the scale and flexibility of the cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TDa9sQoI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182776030-c15299a9-0f14-42e7-9c91-bb120798ad17.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TDa9sQoI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/182776030-c15299a9-0f14-42e7-9c91-bb120798ad17.png" alt="image" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>scalability</category>
      <category>loadbalancer</category>
    </item>
    <item>
      <title>Cloud Computing #Day 2</title>
      <dc:creator>Giriraj Roy</dc:creator>
      <pubDate>Sun, 24 Jul 2022 13:05:25 +0000</pubDate>
      <link>https://dev.to/girirajroy/cloud-computing-day-2-1acg</link>
      <guid>https://dev.to/girirajroy/cloud-computing-day-2-1acg</guid>
      <description>&lt;p&gt;Good Wishes to the second day of my Cloud Computing aka AWS journey, I came across the architechtural insights of virtual servers, which are not only &lt;strong&gt;reliable and secure&lt;/strong&gt; but also &lt;strong&gt;scalable and elastic&lt;/strong&gt; which is why the name &lt;strong&gt;Amazon Elastic Cloud Compute (Amazon EC2)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Amazon EC2 ?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--K2g0VeFQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180647421-3eca92c5-cc57-4c20-aaab-8da43c40c8a1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K2g0VeFQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180647421-3eca92c5-cc57-4c20-aaab-8da43c40c8a1.png" alt="image" width="363" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Amazon EC2 eliminates the need to invest in hardware up front hence can be used to launch as many or as few virtual servers as needed; configure security and networking and manage storage.&lt;br&gt;&lt;br&gt;
Amazon EC2 enables a user to scale up or down to handle changes in requirements or spikes in popularity, reducing the need to forecast traffic. Now this can be a lot of keywords altogether, allow me to introduce the features of Amazon EC2 :&lt;/p&gt;

&lt;h3&gt;
  
  
  Features of Amazon EC2 :
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Virtual Computing Environments :&lt;/strong&gt; a virtual machine or server (cloud based or physical) known as &lt;strong&gt;instances&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Machine Images(AMIs) :&lt;/strong&gt; preconfigured templates that contains the software configuration&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Virtual Private Clouds&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Secure login information in form of key pairs( public and private)&lt;/li&gt;
&lt;li&gt;And others like, &lt;strong&gt;instance types&lt;/strong&gt;, metadata, firewall, &lt;strong&gt;instance store volumes&lt;/strong&gt;, Elastic IP addresses etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Here comes the Virtual Computing Environments into discussion, What is an Instance ?
&lt;/h3&gt;

&lt;p&gt;An EC2 instance is a virtual machine (VM) that runs in the AWS Cloud. When you launch an instance, you decide the virtual hardware configuration by choosing an instance type.  &lt;/p&gt;

&lt;h3&gt;
  
  
  Keynotes:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;An instance is a VM.&lt;/li&gt;
&lt;li&gt;An instance type is the combination of virtual hardware components, such as CPU and memory, that make up the instance.&lt;/li&gt;
&lt;li&gt;Instance names are a combination of the instance family, generation, and size. We will look into this discussion later.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Instance Families :
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P_9Yq82T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180446718-151354d8-ed16-4198-80c1-588c258b3b55.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P_9Yq82T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180446718-151354d8-ed16-4198-80c1-588c258b3b55.png" alt="image" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;As we can understand from the image there are five different instance families :&lt;/p&gt;

&lt;h4&gt;
  
  
   &lt;strong&gt;General Purpose&lt;/strong&gt; 
&lt;/h4&gt;

&lt;p&gt;General-purpose instances provide a balance of compute, memory, and networking resources and can be used for a wide range of workloads.&lt;br&gt;
&lt;strong&gt;Use cases:&lt;/strong&gt; &lt;br&gt;
These instances are ideal for applications that use these resources in equal proportions: such as web servers and code repositories.  &lt;/p&gt;

&lt;h4&gt;
  
  
   &lt;strong&gt;Compute Optimized&lt;/strong&gt; 
&lt;/h4&gt;

&lt;p&gt;Compute-optimized instances are ideal for compute-bound applications that benefit from high-performance processors. Instances belonging to this family are well suited for compute-intensive operations. &lt;br&gt; &lt;br&gt;
&lt;strong&gt;Use cases:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Batch processing workloads &lt;/li&gt;
&lt;li&gt;Media transcoding &lt;/li&gt;
&lt;li&gt;High-performance web servers &lt;/li&gt;
&lt;li&gt;High performance computing (HPC) &lt;/li&gt;
&lt;li&gt;Scientific modeling &lt;/li&gt;
&lt;li&gt;Dedicated gaming servers and ad server engines &lt;/li&gt;
&lt;li&gt;Machine learning (ML) inference 
&lt;h4&gt;


&lt;strong&gt;Memory Optimized&lt;/strong&gt; 
&lt;/h4&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Memory-optimized instances are designed to deliver fast performance for workloads that process large data sets in memory.&lt;br&gt;
&lt;br&gt; &lt;strong&gt;Use cases:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;High-performance, relational (MySQL) and NoSQL (MongoDB, Cassandra) databases. &lt;/li&gt;
&lt;li&gt;Distributed web scale cache stores that provide in-memory caching of key-value type data (Memcached and Redis). 
&lt;h4&gt;


&lt;strong&gt;Storage Optimized&lt;/strong&gt; 
&lt;/h4&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Storage-optimized instances are designed for workloads that require high, sequential read and write access to very large data sets on local storage. They are optimized to deliver tens of thousands of low-latency, random I/O operations per second (IOPS) to applications.  &lt;/p&gt;

&lt;h4&gt;
  
  
   &lt;strong&gt;Accelerated Computing&lt;/strong&gt; 
&lt;/h4&gt;

&lt;p&gt;If you require high processing capability, you will benefit from using accelerated computing instances, which provide access to hardware-based compute accelerators such as graphics processing units (GPUs), field-programmable gate arrays (FPGAs), or AWS Inferentia. &lt;br&gt;
&lt;strong&gt;Use cases:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Video rendering &lt;/li&gt;
&lt;li&gt;Analytics (big data)  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Decoding nomenclature:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---Xlus_Rb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180446090-67444b88-bf8a-4fc6-aeb1-4e3260ccb9ef.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---Xlus_Rb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180446090-67444b88-bf8a-4fc6-aeb1-4e3260ccb9ef.png" alt="image" width="600" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Analysing the picture , we can easily decipher the instance naming hence I am refraining for elaboration.&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon EC2 Pricing
&lt;/h3&gt;

&lt;p&gt;Amazon EC2 offers a variety of pricing options for different use cases and definitely you &lt;strong&gt;pay only for the compute time&lt;/strong&gt;.&lt;br&gt;
Below are the categories :&lt;/p&gt;

&lt;h4&gt;
  
  
  On Demand Instances
&lt;/h4&gt;

&lt;p&gt;On-Demand Instances are ideal for short-term, irregular workloads that cannot be interrupted. Use cases for On-Demand Instances include developing and testing applications and running applications that have unpredictable usage patterns.&lt;/p&gt;

&lt;h4&gt;
  
  
  Reserved Instances
&lt;/h4&gt;

&lt;p&gt;Reserved Instances are a billing discount applied to the use of On-Demand Instances in the account. At the end of a Reserved Instance term, one can continue using the Amazon EC2 instance without interruption. However, they charge On-Demand rates until any action is taken.&lt;/p&gt;

&lt;h4&gt;
  
  
  Savings Plan
&lt;/h4&gt;

&lt;p&gt;Amazon EC2 Savings Plans are ideal for workloads that involve a consistent amount of compute usage over a 1-year or 3-year term. With Amazon EC2 Savings Plans, you can reduce your compute costs by up to 72% over On-Demand costs.&lt;/p&gt;

&lt;h4&gt;
  
  
  Spot Instances
&lt;/h4&gt;

&lt;p&gt;Spot Instances are ideal for workloads with flexible start and end times, or that can withstand interruptions. With Spot Instances, you can reduce your compute costs by up to 90% over On-Demand costs. Unlike Amazon EC2 Savings Plans, Spot Instances do not require contracts or a commitment to a consistent amount of compute usage. &lt;/p&gt;

&lt;h4&gt;
  
  
  Dedicated Hosts
&lt;/h4&gt;

&lt;p&gt;Dedicated Hosts are physical servers with Amazon EC2 instance capacity that is fully dedicated to your use. On-Demand Dedicated Hosts and Dedicated Hosts Reservations can be purchased. Of all the Amazon EC2 options that were covered, Dedicated Hosts are the most expensive. I will highlight on the diffference between &lt;strong&gt;Dedicated Hosts and Dedicated Instances&lt;/strong&gt; later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fSFPt8K8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180647376-6798deeb-c003-4732-b9d9-9ee565add460.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fSFPt8K8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/180647376-6798deeb-c003-4732-b9d9-9ee565add460.png" alt="image" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it for today!! Next day I will be discussing on Scaling and Elastic Load Balancing. And I am extremely excited for this.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>serverless</category>
      <category>cloudskills</category>
    </item>
    <item>
      <title>Cloud Computing #Day 1</title>
      <dc:creator>Giriraj Roy</dc:creator>
      <pubDate>Mon, 18 Jul 2022 13:33:32 +0000</pubDate>
      <link>https://dev.to/girirajroy/cloud-computing-day-1-49fb</link>
      <guid>https://dev.to/girirajroy/cloud-computing-day-1-49fb</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Client - Server Model
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ps_c_LhR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179401560-a83a664c-0543-434d-a004-4898ff5964fa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ps_c_LhR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179401560-a83a664c-0543-434d-a004-4898ff5964fa.png" alt="image" width="800" height="313"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;
   Modern cloud computing follow the Client-Server model where a client can be a web browser or desktop application that a person interacts with to make requests to computer servers. A server can be services such as Amazon Elastic Compute Cloud (Amazon EC2), a type of virtual server.
&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Cloud Computing ?
&lt;/h3&gt;

&lt;p&gt;The term &lt;strong&gt;cloud computing&lt;/strong&gt; refers to the technology that makes cloud work.&lt;/p&gt;

&lt;p&gt;Cloud computing is on-demand access, via the internet, to computing resources—applications, servers (physical servers and virtual servers), data storage, development tools, networking capabilities, and more—hosted at a remote data center managed by a cloud services provider (or CSP) for a monthly subscription fee or bills them according to usage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud Computing Services
&lt;/h2&gt;

&lt;p&gt;IaaS (Infrastructure-as-a-Service), PaaS (Platform-as-a-Service) , and SaaS (Software-as-a-Service) are the three most common models of cloud services, Apart from Serverless Computing and Faas ( Function as a Service).&lt;br&gt;&lt;br&gt;
The Chart Below will distinguish between them : &lt;/p&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_kRWGVwl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179515624-7873563c-69e9-465a-b56b-44c76ea31e76.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_kRWGVwl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179515624-7873563c-69e9-465a-b56b-44c76ea31e76.png" alt="image" width="800" height="415"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;h3&gt;
  
  
  Serverless Computing
&lt;/h3&gt;

&lt;p&gt;Serverless computing (also called simply serverless) is a cloud computing model that &lt;strong&gt;offloads all the backend infrastructure management&lt;/strong&gt; tasks–provisioning, scaling, scheduling, patching—to the cloud provider, freeing developers to focus all their time and effort on the code and business logic specific to their applications.&lt;br&gt;&lt;br&gt;
Serverless runs application code on a per-request basis only and scales the supporting infrastructure up and down automatically in response to the number of requests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FaaS, or Function-as-a-Service&lt;/strong&gt;, is often confused with serverless computing when, in fact, it's a subset of serverless. FaaS allows developers to execute portions of application code (called functions) in response to specific events.  &lt;/p&gt;



&lt;h2&gt;
  
  
  Types Of Cloud Computing
&lt;/h2&gt;

&lt;h4&gt;Cloud Computing can be broadly classified into two categories: &lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Public Cloud&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Private Cloud&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FkNrKymz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179521414-ec8ad480-2306-4691-8562-e93f64b13d14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FkNrKymz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://user-images.githubusercontent.com/88903134/179521414-ec8ad480-2306-4691-8562-e93f64b13d14.png" alt="image" width="600" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Public Cloud
&lt;/h3&gt;

&lt;p&gt;Public cloud is a type of cloud computing in which a cloud service provider makes computing resources—anything from &lt;strong&gt;SaaS applications, to individual virtual machines (VMs), to bare metal computing hardware&lt;/strong&gt;, to complete enterprise-grade infrastructures and development platforms—available to users over the public internet &lt;strong&gt;accessible for free, or access might be sold according to subscription-based or pay-per-usage pricing models&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
Public cloud is a multi-tenant environment—the cloud provider's data center infrastructure is shared by all public cloud customers. In the leading public clouds—Amazon Web Services (AWS), Google Cloud, IBM Cloud, Microsoft Azure, and Oracle Cloud—those customers can number in the millions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Private Cloud
&lt;/h3&gt;

&lt;p&gt;Private cloud is a cloud environment in which all cloud infrastructure and computing resources are dedicated to, and accessible by, one customer only. Private cloud combines many of the benefits of cloud computing—including &lt;strong&gt;elasticity, scalability, and ease of service delivery—with the access control, security, and resource customization of on-premises infrastructure.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After understanding the structures on how both private cloud and public cloud works, a conclusion can be derived by building private cloud architecture according to cloud native principles, an organization gives itself the flexibility to easily move workloads to public cloud or run them within a hybrid cloud environment whenever they’re ready.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hybrid Cloud
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;goal&lt;/strong&gt; of hybrid cloud is to establish a mix of public and private cloud resources—and with a level of orchestration between them—that gives an organization the flexibility to choose the optimal cloud for each application or workload and to move workloads freely between the two clouds as circumstances change. This enables the organization to &lt;strong&gt;meet its technical and business objectives more effectively and cost-efficiently&lt;/strong&gt; than it could with public or private cloud alone.&lt;/p&gt;

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

&lt;p&gt;Nevertheless, maintaining cloud security demands different procedures and employee skillsets than in legacy IT environments. Some cloud security best practices include the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shared responsibility&lt;/strong&gt; for security&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User&lt;/strong&gt; identity and access management&lt;/li&gt;
&lt;li&gt;Security and compliance &lt;strong&gt;monitoring&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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