Professional Documents
Culture Documents
AIM
Create a Cloud Organization in AWS/Google Cloud/or any equivalent Open-Source cloud software
like Open Stack, Eucalyptus, Open Nebula with Role-based access control
PROCEDURE:
In this step, you sign into account 111111111111 as an administrator, create an organization with
that account as the management account.,
1.Sign into AWS as an administrator of account 111111111111 and open the AWS Organizations console.
Note
By default, the organization is created with all features enabled. You can also create the organization
with only consolidated billing features enabled.
AWS creates the organization and shows you the AWS accounts page. If you're on a different page,
then choose AWS accounts in the navigation pane on the left.
If the account you use has never had its email address verified by AWS, a verification email is automatically
sent to the address that is associated with your management account. There might be a delay before you
receive the verification email.
Verify your email address within 24 hours. For more information, see Email address verification.
You now have an organization with your account as its only member. This is the management account of the
organization.
RESULT:
EXP NO:2
AIM:
Create a Cost-model for a web application using various services and do Cost-benefit analysis
Objective:
The objective of this lab is to create a cost model for a web application utilizing various AWS services.
Additionally, students will perform a cost-benefit analysis to evaluate the feasibility of the project.
Prerequired
Lab Scenario:
Imagine you are tasked with designing a simple e-commerce web application using AWS services. Your
goal is to estimate the costs associated with deploying and maintaining this application.
Tasks:
1. List the AWS services you will need for your web application (e.g., EC2, RDS, S3, Lambda).
1. Visit the AWS Pricing page (https://aws.amazon.com/pricing/) and navigate to the pricing details for the
services you identified.
2. Document the pricing details including any usage-based charges and tiers.
1. Make educated estimates about the usage of each component (e.g., number of active users, data storage
requirements, expected traffic volume, API calls).
1. Determine any one-time setup costs (e.g., domain registration, SSL certificate purchase).
1. Estimate the recurring costs for each service (e.g., EC2 instance hourly rates, RDS monthly charges).
2. Compare the estimated total monthly cost with the expected benefits.
4. Calculate the Return on Investment (ROI): `ROI = (Net Benefit / Total Costs) * 100%`.
2. Summarize your findings and conclude whether the project is financially viable.
RESULT:
EXP NO:3
AIM:
To create alerts for usage of cloud resources in AWS, you can use AWS CloudWatch, which is a monitoring
and observability service provided by Amazon Web Services. CloudWatch allows you to collect and track
metrics, collect and monitor log files, and set alarms.
Here are the steps to create alerts for resource usage in AWS:
2. Navigate to CloudWatch:
In the AWS Console, search for "CloudWatch" in the search bar, or find it under "Management &
Governance" in the services list.
3. Create a CloudWatch Alarm:
4. Select a Metric:
- You'll be prompted to choose a metric for your alarm. This could be a metric from an existing AWS
service (e.g., EC2, S3, RDS) or a custom metric.
5. Define Conditions:
- Set the conditions that will trigger the alarm. For example, if you're monitoring EC2 instance CPU
utilization, you can set a threshold like "CPU Utilization > 80% for 5 minutes."
6. Set Actions:
- Define what action(s) should be taken when the alarm state is triggered. You can choose to send a
notification, stop or terminate an instance, or run a specific AWS action using SNS (Simple Notification
Service) or other AWS services.
7. Configure Actions:
If you've chosen to send a notification, you'll need to set up the notification actions. This might involve
creating an SNS topic and subscribing to an email address or other endpoints to it.
8. Add a Name and Description:
- Give your alarm a name and optional description for easy identification.
- After creating the alarm, it will appear in the "Alarms" section of CloudWatch. You can manage, edit, or
delete alarms from this section.
RESULT:
EXP NO:4
AIM;
PROCEDURE:
preferences”.
Step 4:
Here in “Billing preferences”, select “Receive Billing Alerts” and click on “Save preferences” button.
Step 5:
Now, open “Manage Billing Alerts” in the new tab. “Manage Billing Alerts” redirects you to Amazon
CloudWatch where we will be setting up our billing alerts.
Step 6:
Step 8:
Now, you need to “Specify metric and conditions” in which the alarm gets triggered. Here, in Metric,
namespace is given as “AWS/Billing”, provide “Metric name” as your choice, give the desired “Currency”
for instance USD for US Dollars, then in “Statistic” select “Maximum” and finally select the “Period” in
Step 9:
Now, moving on to “Conditions”, we need to specify “Threshold type” as “Static” and give a condition as
“Whenever Estimated Charges is.” where you define the alarm condition. For instance, we will be selecting
“Greater/Equal” as we want to get a billing alarm when the estimated charge gets greater than/ equals to the
specified amount. After then, now you are required to specify “than…” where you define the threshold value
after which you want the alarm to get triggered. For example, we are providing an amount of 5 USD. Besides
them, we also need to make some additional configuration, i.e., “Datapoints to alarm” which has been
provided as “1 out of 1” and “Missing data treatment” as “Treat missing data as missing”.
Step 10: After specifying the metric and conditions, click on the “Next” button.
Step 11:
Now in the section of Configure Actions, the “Alarm state trigger” comprises three states. “In alarm”
is the state when the metric has crossed the specified Threshold. Similarly, the “OK” state, means all is well,
and “Insufficient data” means that the alarm has just started because of which there is not enough data
available to report an alarm state.
Step 12:
After providing “Alarm state trigger”, we are required to “Select and SNS topic” to define Simple
Notification Service which is a notification process to set the alarm. Here, you can select “Create new topic”
option.
Step 13:
Now, in Select an SNS topic, select “Create a new topic”. Here, you are required to provide a
unique topic name. Then, provide your email address in the section named “Email endpoints that will receive
the notification…”
Step 14: Here, click on “Next” button.\
Step 15:
In the section “Add name and description”, you are required to specify a unique name for “Alarm
name”. Also, you can mention “Alarm description” which is not mandatory. Then finally, you can click on
Step 16:
Here, you are required to “Preview and create” the Billing Alarm. Once you have verified
the setup process, you can now click on “Create alarm”.
Step 17: Since a message is being displayed on the top as “Some subscriptions are pending confirmation”,
Step 19:
Step 20:
Now, a message “your subscription has been confirmed” will show up. After then, you can go back
to Amazon SNS.
Step 21:
Here, in the Alarms section in CloudWatch, you can view that the status is in the “OK” state.
Step 22:
On the left, click on “Billing” option as shown in the image. Here too, you can see that the status of
EXP NO: 5
AIM:
Compare Cloud cost for a simple web application across AWS, Azure and GCP and suggest the
best one
PROCEDURE:
It’s clear that these cloud service providers compete closely with one another and have set similar
price ranges for storage services, with Azure standing out as the most cost-effective alternative. However, be
sure to check out other cost dimensions, such as data transfer or operations charges before picking the
storage service.
Google Cloud Platform recently introduced significant price increases across various core services
around storage. Price hikes may affect other services and cloud providers considering the current
challenges like inflation rates running high around the world and supply chain issues.
Compute often ends up racking up a cloud bill, but it also presents the greatest opportunity for cost
optimization. That’s why it’s an essential element in every cloud pricing comparison.
We prepared this case study to show the incredible impact optimizing computer costs can have on your
bottom line.
Region: AWS US East (Northern Virginia), Azure East US, and Northern Virginia (us-east4) in
Google Cloud Platform.
Operating System: Linux.
vCPUs: 4.
Types of instances/VMs we will analyze:
General purpose
Compute optimized
We picked instances with four vCPUs and similar RAM (the only exception is the computer optimized
machine from Google Cloud Platform).
Here are the instances/VMs we selected for our cloud pricing comparison:
AWS vs. Azure vs. Google Cloud Platform: Comparing On-Demand pricing
Here’s the hourly On-Demand pricing of each of these cloud services across AWS, Azure, and Google
Cloud Platform.
General purpose
Takeaways:
While Azure is the most expensive choice for general purpose instances, it’s one of the most cost-
effective alternatives to compute optimized instances.
Google Cloud Platform offers the highest price for compute optimized instances, but this machine
has double the RAM of alternatives from AWS, Azure, and Oracle.
Providers roll out virtual machines with different hardware and performance characteristics. As a result, you
might end up with an instance type that provides strong (and expensive!) performance your teams don’t
actually need.
Benchmarking is one way to see what you’re really paying for: you can run the same workload on each
machine and check its performance characteristics.
This approach might help you discover something interesting, just like we did. The chart below shows CPU
operation in AWS (t2.2xlarge with eight virtual cores) at varying times after several idle periods. Would you
expect such unpredictable CPU behavior within a single cloud provider?
Source: CAST AI
The 2022 Cloud Report from Cockroach Labs used this method to evaluate AWS, Azure, and Google Cloud
machines.2 One of their conclusions was that Google performs better than AWS and Azure. GCP instances
occupied 6 out of 10 spots in the top 10 instances in price-for-performance.
AWS vs. Azure vs. Google Cloud: Comparing discounted pricing with a 1-year upfront commitment
All three providers offer price discounts if you commit to using them for at least one year. This pricing
model is called Reserved Instances in AWS, Reserved Savings in Azure, and Committed use discounts in
Google Cloud.
The following tables compare the discounted pricing among AWS, Azure, and Google Cloud cloud services
with a one-year commitment period with an all-upfront payment.
General purpose
CONCLUSION:
If you are heavily invested in the Microsoft ecosystem (e.g., using Windows servers, Active
Directory, etc.), Azure might be the most seamless option.
If your application requires strong data analytics or machine learning capabilities, or if you're
looking for competitive pricing, consider GCP.
For a more generic, all-purpose solution with a broad range of services, AWS is a solid choice
and the mature platform might suit your needs best.
RESULT: