gracyCCT_removed_removed
gracyCCT_removed_removed
Practical File
Submitted
For
Bachelor of Technology
In
Computer Science & Engineering
At
2023-24
CLOUD COMPUTING TECHNOLOGIES
This command will send ICMP echo requests to the host OS. If the
communication is successful, you'll see responses indicating the round-trip time
and packet loss (if any).
4. Ping Guest from Host: Similarly, you can test communication from the
host OS to the guest OS by opening a terminal or Command Prompt
window on the host OS and running the ping command followed by the IP
address of the guest OS.
Replace <guest_IP_address> with the actual IP address of the guest OS. If the
communication is successful, you'll see responses indicating the round-trip time
and packet loss.
Practical 4
Create a form or interface in cloud environment.
Creating a form or interface in a cloud environment can be accomplished using
various services provided by cloud providers like AWS, Azure, or Google Cloud
Platform. We can create a simple form using AWS services:
1. Amazon Web Services (AWS):
AWS offers several services that can be used to create forms or interfaces. One
common approach is to use AWS Lambda for serverless backend logic and
Amazon API Gateway to create RESTful APIs. For the frontend, you can use AWS
Amplify or host static files on Amazon S3.
Here's a basic overview of the steps involved:
a. Backend Setup:
• Create an AWS Lambda function to handle form submissions. This
function will process the data submitted from the form.
• Set up an API endpoint using Amazon API Gateway to trigger the
Lambda function when the form is submitted.
b. Frontend Setup:
• Create an HTML form with fields for user input. This can be hosted
on Amazon S3 or served via AWS Amplify.
• Use JavaScript to handle form submission. When the form is
submitted, send a POST request to the API endpoint created in API
Gateway.
c. Security and Permissions:
• Configure IAM roles and policies to ensure that your Lambda
function and API Gateway endpoint have the necessary permissions
to interact with other AWS services.
• Consider implementing authentication and authorization
mechanisms if needed to secure your form.
d. Monitoring and Logging:
• Set up logging and monitoring for your Lambda function and API
Gateway to track form submissions and diagnose any issues.
e. Testing and Deployment:
• Test your form thoroughly to ensure it functions as expected.
• Deploy your frontend and backend components to AWS.
2. Alternative Cloud Providers:
If you prefer using a different cloud provider, similar concepts can be applied
using their respective services. For example, on Microsoft Azure, you could use
Azure Functions for serverless backend logic, Azure API Management for API
creation, and Azure Storage for hosting static files. On Google Cloud Platform,
you could use Google Cloud Functions, Google Cloud Endpoints, and Google
Cloud Storage.
3. Third-Party Services:
Alternatively, you can use third-party services like Google Forms, Typeform, or
Wufoo to create forms without directly managing cloud infrastructure. These
services typically provide a user-friendly interface for designing forms and
handling submissions, with options for customization and integration with other
platforms.
Practical 5
Study the process to Establish an AWS account. Use the AWS Management
Console to launch an EC2 instance and connect to it.
Case Study : Amazon web Services
AWS (Amazon Web Services) is a comprehensive, evolving cloud computing
platform provided by Amazon. It includes a mixture of infrastructure-as-a-service
(IaaS), platform-as-a-service (PaaS) and packaged software-as-a-service (SaaS)
offerings. AWS offers tools such as compute power, database storage and
content delivery services.
Creating an EC2 Instance in AWS
1.Create an AWS account :
1. Open the Amazon Web Services home page
2. Choose Create an AWS account.
3. Enter your account information, and then choose Verify email address.
This will send a verification code to your specified email address.
4. Enter your verification code, and then choose Verify.
5. Enter a strong password for your root user, confirm it, and then choose
Continue.
6. Choose Business or Personal. Personal accounts and business accounts
have the same features and functions.
7. Enter your company or personal information.
8. Read and accept the AWS Customer Agreement. Be sure that you read
and understand the terms of the AWS Customer Agreement.
9. Choose Continue. At this point, you'll receive an email message to
confirm that your AWS account is ready to use. You can sign in to your new
account by using the email address and password you provided during
sign up. However, you can't use any AWS services until you finish activating
your account.
10. Enter the information about your payment method, and then choose
Verify and Continue. If you want to use a different billing address for your
AWS billing information, choose Use a new address.
3.Choose a name of your instance