Table of contents
- what is cloud :
- Types of Cloud Computing :
- Key characteristics of Cloud Computing :
- Types of Cloud Services
- Why Do You Need Cloud Computing?
- What is AWS?
- How to Create Template on AWS :
- Step-by-Step Guide to Create a Launch Template on AWS
- Create an Auto Scaling Group
- Step 3: Configure Scaling Policies
- Review and Monitor
- Conclusion :
what is cloud :
Cloud computing is the delivery of computing services—including servers, storage, databases, networking, software, analytics, and intelligence—over the Internet (the cloud) to offer faster innovation, flexible resources, and economies of scale. Instead of owning their own computing infrastructure or data centers, companies can rent access to anything from applications to storage from a cloud service provider.
Types of Cloud Computing :
1. Public Cloud
Public cloud services are delivered over the internet and shared across multiple organizations. These services are provided by third-party cloud service providers, such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.
2. Private Cloud
Private cloud services are used exclusively by a single organization. The infrastructure can be hosted either on-premises or by a third-party provider but is dedicated solely to one organization.
Key characteristics of Cloud Computing :
Types of Cloud Services
Infrastructure as a Service (IaaS): Provides virtualized computing resources over the internet. Examples: Amazon Web Services (AWS),ECS (Elastic Container Service),/ Microsoft Azure, Google Cloud Platform.
Platform as a Service (PaaS): Delivers hardware and software tools over the internet, usually those needed for application development. Examples: Heroku, Google App Engine.
Software as a Service (SaaS): Delivers software applications over the internet, on a subscription basis. Examples: Salesforce, Google Workspace, Microsoft 365.
Why Do You Need Cloud Computing?
Cost Efficiency: Reduces the capital expense of buying hardware and software and setting up and running on-site data centers.
Scalability: Easily scale resources up or down to accommodate changes in workload.
Performance: Benefits from massive data centers' performance, security, and reliability, often more robust than a single company's infrastructure.
Speed and Agility: Deploy resources quickly, allowing businesses to innovate faster and improve time-to-market for new products.
Global Reach: Deploy applications in multiple regions around the world with a few clicks, providing lower latency and better experience for customers.
Security: Cloud providers offer a set of policies, technologies, and controls that strengthen security posture overall, protecting data, applications, and infrastructure from potential threats.
What is AWS?
Amazon Web Services (AWS) is a comprehensive and widely adopted cloud platform, offering over 200 fully-featured services from data centers globally. AWS is a subsidiary of Amazon that provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis.
How to Create Template on AWS :
Step-by-Step Guide to Create a Launch Template on AWS
Step 1: Open the Amazon EC2 Console
Sign in to the AWS Management Console.
Navigate to the Amazon EC2 console.
Specify the Template Details:
Launch template name: Enter a name for your launch template.
Template version description: (Optional) Enter a description for the version.
step 2. Specify the Source Template (if applicable):
Source template: If you have an existing launch template you want to use as a base, select it here.
Source template version: Select the version of the source template you want to use.
Configure the Instance Details:
Review and Create:
Review all the details you have entered.
Click
Create launch template
to create the template.
After that you can create 1 or more Instance using template :
Create an Auto Scaling Group
Open the Amazon EC2 Auto Scaling Console:
- Go to the Auto Scaling Groups console.
Create an Auto Scaling Group:
Click
Create Auto Scaling group
.Choose the launch template or launch configuration you created earlier.
Enter a name for your Auto Scaling group.
Select the VPC and subnets where you want your instances to launch.
Configure the group size, which includes the minimum, desired, and maximum number of instances.
Configure advanced options such as load balancers, health checks, and instance weighting as needed.
Configure scaling policies, which include target tracking, step scaling, or scheduled scaling policies.
Review your settings and click
Create Auto Scaling group
.
Step 3: Configure Scaling Policies
Target Tracking Policy:
This policy adjusts the number of instances to keep a specified metric, such as average CPU utilization, at your target value.
Select
Scaling policies
in the Auto Scaling group.Click
Add policy
.Choose
Target tracking scaling policy
.Select a predefined metric or specify a custom metric.
Set the target value for the metric.
Configure optional settings such as cooldown periods and instance warm-up times.
Click
Create
.
Step Scaling Policy:
This policy adds or removes instances based on a series of steps you define.
Select
Scaling policies
in the Auto Scaling group.Click
Add policy
.Choose
Step scaling policy
.Specify the CloudWatch alarm that will trigger the policy.
Define the steps, which include thresholds for the metric and the corresponding adjustment in the number of instances.
Click
Create
.
Scheduled Scaling Policy:
This policy adjusts the number of instances based on a schedule.
Select
Scheduled actions
in the Auto Scaling group.Click
Create scheduled action
.Enter a name for the scheduled action.
Specify the start time, recurrence, and end time if applicable.
Set the minimum, maximum, and desired capacity during the scheduled period.
Click
Create
.
You can fill all six step after that your auto scaling group is ready and you can use it for you website.
Review and Monitor
Review your Auto Scaling group settings to ensure they meet your requirements.
Monitor the group’s activity and adjust the scaling policies as necessary based on performance metrics and usage patterns.
Conclusion :
AWS has revolutionized cloud computing by offering scalable, flexible, and cost-effective solutions that cater to diverse business needs. Its extensive range of services allows organizations to innovate and manage resources efficiently while reducing overhead costs. The pay-as-you-go model ensures that businesses only pay for what they use, making it a valuable tool for both startups and enterprises. With robust security and compliance measures, AWS provides a secure environment for data and applications, driving progress and enhancing productivity in today's digital landscape.