Cloud Computing Lab Manual
Cloud Computing Lab Manual
SC(CS/IT)
BACHELOR
OF
COMPUTER APPLICATION
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai, Maharashtra 410221
Page |1
Department of Computer Science & Information Technology BCA
List of Practical’s
VMware Workstation - Virtualization software for running multiple OS on a single physical machine.
VMware vSphere - Virtualization platform for building cloud infrastructures.
VMware Tools - Suite of utilities that enhance the performance of the virtual machine's guest
operating system and improve management.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi
Mumbai, Maharashtra 410221P a g e | 2
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 01
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |3
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |4
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 02
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |5
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |6
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 03
Theory:
Amazon Web Services (AWS) is a comprehensive, evolving cloud computing platform provided by
Amazon. It offers a suite of cloud computing services that includes computing power, storage options,
and networking capabilities. The AWS Management Console is a web-based interface for managing and
monitoring AWS cloud resources.
What is AWS?
AWS provides a variety of cloud services, including:
• Computing power with Amazon EC2
• Storage with Amazon S3
• Database services with Amazon RDS
• Networking with Amazon VPC
• And many more...
AWS Management Console:
The AWS Management Console provides a simple and intuitive user interface to access and manage
AWS services. Key features include:
• Dashboard: Overview of your AWS resources and services
• Services Menu: Access to all available AWS services
• Resource Groups: Organize and manage related AWS resources
• Billing Dashboard: Monitor your AWS usage and costs
Navigating the AWS Management Console:
1. Login: Access the AWS Management Console using your AWS account credentials.
2. Dashboard: Upon logging in, you will see the AWS Services Dashboard displaying an overview
of your AWS environment.
3. Services Menu: Navigate through the various services offered by AWS. Categories include
Compute, Storage, Databases, Networking, and more.
4. Search Bar: Use the search bar to quickly locate and access specific AWS services or resources.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |7
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
5. Resource Groups: Create and manage resource groups to organize your AWS resources
efficiently.
6. Support & Documentation: Access AWS documentation, support, and resources for assistance
and learning.
Why AWS?
• Scalability: Scale resources up or down based on demand.
• Flexibility: Choose from a variety of services and configurations to meet your specific needs.
• Cost-Effective: Pay only for the resources you use with no long-term contracts.
• Global Infrastructure: Access AWS services from data centers located worldwide.
Conclusion:
In this practical, we have explored the basics of Amazon Web Services (AWS) and learned how to
navigate the AWS Management Console. AWS offers a vast array of services and features that empower
businesses to build, deploy, and manage applications and services in the cloud efficiently.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |8
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 04
Theory:
Amazon Elastic Compute Cloud (EC2) is a web service that provides resizable compute capacity in the
cloud. It allows users to create virtual machines, known as instances, and run applications on them. EC2
instances are highly customizable and can be tailored to meet specific computing requirements.
What is AWS EC2?
Amazon EC2 offers the following key features:
• Virtual Servers: Create virtual machines with varying CPU, memory, storage, and networking
capacities.
• Flexible Pricing: Pay only for the compute capacity you use with no upfront costs or long-term
commitments.
• Security: Secure your instances by leveraging AWS security groups, IAM roles, and encryption.
• Scalability: Easily scale your compute resources up or down based on demand.
• Integration: Integrate with other AWS services for a comprehensive cloud computing solution.
Launching an EC2 Instance:
1. Login to AWS Management Console: Access the AWS Management Console using your
credentials.
2. Navigate to EC2: From the Services menu, select EC2 under the Compute category.
3. Launch Instance: Click on the "Launch Instance" button to initiate the instance creation process.
4. Choose AMI: Select an Amazon Machine Image (AMI) - a template that contains the software
configuration for your instance.
5. Choose Instance Type: Choose an instance type based on your computing requirements.
6. Configure Instance: Configure instance details, storage, tags, security groups, and more.
7. Review and Launch: Review your instance configuration and launch the EC2 instance.
8. Connect to Instance: Once the instance is running, connect to it using SSH or RDP depending
on the OS.
Managing EC2 Instances:
• Start/Stop: Easily start, stop, or reboot instances as needed.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 Page |9
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
• Terminate: Delete instances that are no longer required to avoid incurring additional charges.
• Monitoring: Monitor instance performance and status using Amazon CloudWatch.
• Scaling: Implement auto-scaling to automatically adjust the number of instances based on
demand.
Best Practices:
• Cost Management: Utilize reserved instances or spot instances for cost-effective computing.
• Security: Implement security best practices, including regular updates, patching, and IAM
policies.
• Backup: Regularly backup important data to Amazon S3 or EBS volumes.
Conclusion:
In this practical, we have learned the fundamentals of Amazon EC2, including how to launch and
manage virtual servers in the AWS cloud. EC2 provides a flexible and scalable computing environment
that enables businesses to deploy applications and services quickly and efficiently.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 10
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 05
Theory:
AWS Security Groups act as virtual firewalls for your EC2 instances to control inbound and outbound
traffic. They regulate the incoming and outgoing traffic by specifying rules that allow or deny traffic
based on source and destination IP addresses, ports, and protocols.
What are Security Groups in AWS?
Security Groups are sets of firewall rules that control the traffic to EC2 instances. Each security group
has a set of inbound and outbound rules, and each rule consists of a protocol, a port range, and a
source or destination.
Key Concepts:
• Stateful: Security Groups are stateful, meaning if you allow incoming traffic from an IP
address, the return traffic is automatically allowed, regardless of outbound rules.
• Instance Level: Security Groups are applied at the instance level, and each instance can be
associated with multiple security groups.
• Inbound and Outbound Rules: Define rules to allow or deny traffic based on
source/destination IPs, ports, and protocols.
Configuring Security Groups in AWS:
1. Access AWS Management Console: Log in to your AWS Management Console.
2. Navigate to EC2 Dashboard: Go to the EC2 Dashboard and select 'Security Groups' from the
left-hand navigation pane.
3. Create a New Security Group:
• Click on the 'Create Security Group' button.
• Provide a name and description for the security group.
• Select the VPC (Virtual Private Cloud) for the security group.
4. Configure Inbound Rules:
• Click on the 'Inbound rules' tab.
• Add rules to allow specific traffic based on source IP, port, and protocol (e.g., HTTP,
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 11
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
HTTPS, SSH).
5. Configure Outbound Rules:
• Click on the 'Outbound rules' tab.
• Add rules to allow specific outbound traffic based on destination IP, port, and protocol.
6. Apply Security Group to EC2 Instances:
• Navigate to the 'Instances' section.
• Select the instance you want to associate with the security group.
• Right-click and choose 'Change Security Groups'.
• Select the desired security group and click 'Assign Security Groups'.
Testing Security Groups:
1. SSH Access:
• Try to SSH into your EC2 instance using the public IP address.
• Ensure that the security group allows inbound SSH traffic on port 22.
2. Web Access:
• Access the web server hosted on your EC2 instance using its public IP or DNS.
• Ensure that the security group allows inbound HTTP/HTTPS traffic.
3. Ping Test:
• Try to ping your EC2 instance from another machine.
• Ensure that the security group allows ICMP traffic if you want to allow ping.
Conclusion:
In this practical, we learned how to configure Security Groups in AWS to control inbound and
outbound traffic to our EC2 instances effectively. By defining specific rules based on
source/destination IPs, ports, and protocols, we can enhance the security posture of our AWS
environment, ensuring that only authorized traffic is allowed while blocking potential threats.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 12
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 06
Theory:
Amazon Simple Storage Service (S3) is a scalable object storage service offered by AWS. It allows
users to store and retrieve any amount of data at any time from anywhere on the web. S3 is designed
for 99.999999999% (11 9's) of durability, making it a highly reliable storage solution.
What is AWS S3?
Amazon S3 offers the following key features:
• Scalable Storage: Store virtually unlimited amounts of data with easy scalability.
• Durability and Availability: Designed for 99.999999999% durability across multiple devices
and locations.
• Data Security: Secure data using encryption, access control, and bucket policies.
• Data Lifecycle Management: Automate the transition of objects between different storage
classes.
• Versioning: Preserve, retrieve, and restore every version of every object stored in an S3
bucket.
Creating an S3 Bucket:
1. Login to AWS Management Console: Access the AWS Management Console using your
credentials.
2. Navigate to S3: From the Services menu, select S3 under the Storage category.
3. Create Bucket: Click on the "Create Bucket" button to initiate the bucket creation process.
4. Configure Bucket: Provide a unique name, select a region, and configure other bucket
settings.
5. Set Permissions: Define access permissions using bucket policies and access control lists
(ACLs).
6. Review and Create: Review your bucket configuration and create the S3 bucket.
Uploading and Managing Objects:
• Upload: Drag and drop files or use the AWS Management Console to upload objects to your
S3 bucket.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 13
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
• Download: Retrieve objects from your S3 bucket using various methods including the AWS
CLI, SDKs, or Console.
• Delete: Remove objects that are no longer needed to free up storage space.
• Versioning: Enable versioning to preserve, retrieve, and restore every version of objects in
your bucket.
Implementing Data Security:
• Encryption: Secure data at rest using server-side encryption with Amazon S3 managed keys
(SSE-S3) or AWS Key Management Service (SSE-KMS).
• Access Control: Define granular permissions using IAM policies, bucket policies, and access
control lists (ACLs).
• Monitoring and Auditing: Monitor access patterns and set up logging to track requests made
to your S3 bucket.
Best Practices:
• Naming Conventions: Use meaningful and descriptive names for your buckets and objects.
• Lifecycle Policies: Implement lifecycle policies to transition objects between storage classes
and automate data archival.
• Cost Management: Monitor storage usage and implement cost-effective storage solutions like
S3 Intelligent-Tiering.
Conclusion:
In this practical, we explored Amazon S3, a versatile and highly durable object storage service
provided by AWS. S3 offers a scalable and secure platform for storing, retrieving, and managing data
in the cloud. Understanding its features and best practices is essential for efficient data management
and storage in AWS.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 14
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 07
Theory:
AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS) that lets
you run your code without provisioning or managing servers. It automatically scales your application
by running code in response to triggers.
What is AWS Lambda?
AWS Lambda lets you run code without provisioning or managing servers, creating workload-aware
cluster scaling logic, maintaining event integrations, or managing runtimes. With Lambda, you can
focus on your code, and AWS takes care of the infrastructure.
Key Concepts:
• Event-Driven: Lambda runs your code in response to events such as changes to data in an
Amazon S3 bucket or an Amazon DynamoDB table, HTTP requests via Amazon API
Gateway, or custom events from mobile applications.
• Auto-Scaling: Lambda automatically scales your application by running code in response to
each trigger. Your code runs in parallel and processes each trigger individually, scaling
precisely with the size of the workload.
• Serverless: No need to provision or manage servers. Pay only for the compute time you
consume.
Implementing AWS Lambda Functions:
1. Access AWS Management Console: Log in to your AWS Management Console.
2. Navigate to Lambda Dashboard: Go to the Lambda service from the services menu.
3. Create a New Lambda Function:
• Click on the 'Create function' button.
• Choose the 'Author from scratch' option.
• Provide a name, choose a runtime (e.g., Python, Node.js, Java), and configure
permissions.
4. Write Code:
• In the function code section, write your Lambda function code.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 15
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
• For example, a simple Python Lambda function might look like this:
pythonCopy code
def lambda_handler(event, context): return { 'statusCode': 200, 'body': 'Hello from
AWS Lambda!' }
5. Configure Trigger:
• Add a trigger for your Lambda function. This could be an S3 bucket change, an API
Gateway endpoint, etc.
6. Set Basic Settings:
• Configure memory, timeout, and other basic settings for your Lambda function.
7. Save and Test:
• Save your Lambda function.
• Test it using the built-in test functionality or manually trigger it to see the output.
Testing Lambda Functions:
1. Manual Invocation:
• Use the 'Test' button in the AWS Lambda console to manually invoke your function
and check its output.
2. Trigger-Based Testing:
• If you've set up a trigger, perform the action that triggers the Lambda function (e.g.,
upload a file to an S3 bucket) and observe the function's execution.
Conclusion:
In this practical, we delved into the world of AWS Lambda, understanding its significance in
serverless computing. We explored how to create, configure, and test Lambda functions, emphasizing
their event-driven nature and auto-scaling capabilities. With Lambda, developers can focus solely on
writing code, leaving infrastructure management to AWS, thereby simplifying the deployment and
scaling of applications.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 16
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 08
Theory:
Amazon Relational Database Service (Amazon RDS) makes it easier to set up, operate, and scale a
relational database in the cloud. It provides cost-efficient and resizable capacity while automating
time-consuming administration tasks such as hardware provisioning, database setup, patching, and
backups.
What is Amazon RDS?
Amazon RDS is a managed database service offered by AWS. It supports multiple database engines
like MySQL, PostgreSQL, SQL Server, MariaDB, and Oracle.
Key Features of Amazon RDS:
• Managed Service: AWS handles routine database tasks such as patching, backups, and
failover.
• Scalability: Easily scale your database instance based on your needs.
• Security: RDS provides features to enhance security, such as encryption at rest and in transit,
security groups, and Virtual Private Cloud (VPC) integration.
• High Availability: Multi-AZ deployments for failover support and automated backups for
point-in-time recovery.
• Monitoring: Amazon CloudWatch integration for monitoring database instances.
Setting up an RDS Database Instance:
1. Access AWS Management Console: Log in to your AWS Management Console.
2. Navigate to RDS Dashboard: Select the RDS service from the services menu.
3. Launch Database Instance:
• Click on the 'Create database' button.
• Choose the database engine you want to use (e.g., MySQL, PostgreSQL, SQL Server).
4. Specify Database Details:
• Provide instance specifications like DB instance class, storage type, allocated storage,
etc.
5. Configure Settings:
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 17
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 18
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 09
Theory:
AWS Identity and Access Management (IAM) enables you to securely control access to AWS services
and resources for your users. IAM allows you to create and manage AWS users and groups, and use
permissions to allow and deny their access to AWS resources.
Key Concepts of IAM:
• Users: An entity that you create in AWS IAM to represent the person or service that uses it.
• Groups: A collection of IAM users. You can use groups to specify permissions for multiple
users, making it easier to manage permissions.
• Roles: An identity with permissions to perform certain actions. Roles are not associated with a
specific user or group but can be assumed by users, AWS services, or federated users.
• Policies: A document that defines permissions. It can be attached to users, groups, or roles to
define what actions are allowed or denied.
• Permissions: These are rules that specify what actions are allowed or denied on resources.
Configuring AWS IAM:
1. Access AWS Management Console: Log in to your AWS Management Console.
2. Navigate to IAM Dashboard: Select the IAM service from the services menu.
3. Users:
• Click on 'Users' in the left sidebar.
• Click on 'Add user'.
• Provide a username and select the type of access (Programmatic access, AWS
Management Console access, or Both).
4. Set Permissions:
• Attach policies to the user. You can choose from existing policies or create custom
ones.
5. Groups:
• Click on 'Groups' in the left sidebar.
• Click on 'Create New Group'.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 19
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 20
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 10
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 21
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 22
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 11
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 24
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 12
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 25
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 26
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 13
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 27
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
capacity).
• Set up triggers based on metrics to initiate scaling actions. For example, add instances
when the average CPU utilization is above 70%.
4. Test Auto Scaling:
• Monitor the instances in the ASG and simulate increased load to trigger scaling.
• Observe how Auto Scaling adds or removes instances based on the defined policies.
5. Monitor and Optimize:
• Use Amazon CloudWatch to monitor the performance metrics and alarms related to your
ASG.
• Adjust the scaling policies and thresholds as needed to optimize the performance and
cost of your application.
Best Practices:
• Use Multiple Availability Zones: Deploy instances across multiple availability zones to ensure
high availability and fault tolerance.
• Utilize Predictive Scaling: AWS offers predictive scaling based on historical data to
automatically scale your application in anticipation of traffic changes.
• Enable Detailed Monitoring: Detailed monitoring provides more frequent metrics (1-minute
intervals) to make more informed scaling decisions.
• Regularly Review and Adjust: Regularly review your Auto Scaling configurations and adjust
them based on changing traffic patterns and application requirements.
Conclusion:
Auto Scaling is a crucial feature in AWS that allows applications to automatically adjust to varying
workloads, ensuring high availability, fault tolerance, and cost optimization. In this practical,
participants learned how to set up and configure Auto Scaling groups, launch configurations, and scaling
policies to automate the management of EC2 instances based on demand. This capability is essential for
modern cloud applications that need to handle dynamic and unpredictable workloads efficiently.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 28
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
Practical No. 14
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 29
Department of Computer Science & Information Technology BCA/BCA DATA SCI / B.SC(CS/IT)
• Check the 'Events' tab for detailed progress and any error messages.
6. Update and Delete Stacks:
• To update a stack, modify the template or parameters and choose 'Update stack'.
• To delete a stack, select the stack and choose 'Delete stack'. This will delete all the AWS
resources associated with the stack.
Best Practices:
• Use Version Control: Store CloudFormation templates in a version control system like Git to
track changes and manage versions.
• Parameterize Resources: Use parameters to make your templates reusable across different
environments and applications.
• Test Templates: Test templates in a staging environment before deploying them to production
to ensure they work as expected.
• Monitor and Audit: Use AWS CloudTrail to log and monitor changes to your CloudFormation
stacks for auditing and compliance.
Conclusion:
AWS CloudFormation simplifies the management of AWS resources by allowing you to define and
provision infrastructure as code. In this practical, participants learned how to create CloudFormation
templates, define parameters and outputs, validate and deploy stacks, and manage resources using
Infrastructure as Code principles. Adopting CloudFormation can lead to more consistent, reliable, and
scalable infrastructure deployments, reducing manual errors and streamlining operations.
Chhatrapati Shivaji Maharaj University,Old, Mumbai - Pune Expressway, near Panvel Toll Plaza, Panvel, Navi Mumbai,
Maharashtra 410221 P a g e | 30