CC Practical File
CC Practical File
: 201903103510225
Practical – 1
Aim : Create the AWS free tier account and explore the AWS console.
Amazon Web Services (AWS) is providing 12 months of Free Tier account to new
subscribers to get hands-on experience with all the AWS cloud services. The AWS Free Tier is
mainly designed to give hands-on experience with AWS Cloud Services for customers free of
cost for a year. With the AWS Free Tier account, all the services offered have a limit on what we
can use without being charged.
1 : First Open your web browser and navigate to AWS Free Tier Page
3 : Issue the details which you want to use for login your AWS account and click on Continue
4 : Contact Information
Select your AWS type (Profesional/ Personal) Fill in the correct information to validate your
account if you’re going to create personal use then click on “Personal Account” else use
“Company Account”, Accepts the Terms and
condition and then click on Create Account and Continue
5 : Payment and PAN information: In this step, you must fill in your credit card /Debit Card info
and billing address and click on Secure Submit.
6 : After payment process phone verification is there. In this otp will be sent to given mobile
number.
7 : Support plan: AWS support offers a selection of plans to meet your business needs.
Select your suitable plan then click continue.
8 : Now your AWS free tier account is ready to use. Go to sing in to console and add login email
id and password.
There are many services are there in AWS some of that are :
Amazon EC2 is one of the fastest-growing cloud computing AWS services, which offers virtual
servers to manage any kind of workload. It facilitates the computing infrastructure with the best
suitable processors, networking facilities, and storage systems. As a result, it supports adapting
to the workloads precisely. Amazon EC2 provides a highly secure, reliable, performing
computing infrastructure meeting business demands. And, it helps you to access resources
quickly and dynamically scale capacities as per demands.
2. Amazon S3
Another popular addition to the AWS services list is Amazon S3, which is an object storage
AWS service, which is highly scalable. It mainly helps users to access any quantity of data from
anywhere. Here, data is stored in ‘storage classes’ to reduce costs without any extra investment
and manage it comfortably. The data is highly secured and supports meeting audit and
compliance requirements. You can handle any volume of data with Amazon S3’s robust access
controls, replication tools, and higher visibility. Moreover, it supports maintaining data version
controls and preventing accidental deletion.
3. Amazon RDS
Amazon RDS would be the next entry in this discussion on AWS services. Amazon RDS is the
managed Relational Database AWS Service (RDS) for MySQL, PostgreSQL, Oracle, SQL
Server, and MariaDB. It allows the setup, operation, and scale of a relational database in the
cloud quickly. Also, it achieves high performance by automating the tasks such as hardware
provisioning, database setup, patching, and backups. When you use Amazon RDS, you don’t
need to install and maintain the database software. Overall, you can optimize costs by embracing
this service and achieve high availability, security, and compatibility for your resources.
4. Amazon VPC
Amazon VPC is the Virtual Private Cloud, which is an isolated cloud resource. It controls the
virtual networking environment, such as resource placement, connectivity, and security. And it
allows you to build and manage compatible VPC networks across cloud AWS resources and on-
premise resources. Here, it improves security by applying rules for inbound and outbound
connections. Also, it monitors VPC flow logs delivered to Amazon S3 and Amazon Cloudwatch
to gain visibility over network dependencies and traffic patterns. Amazon VPC also detects
anomalies in the patterns, prevents data leakage, and troubleshoots network connectivity and
configuration issues.
Practical – 2
Amazon Elastic Compute Cloud (Amazon EC2) is a web-based service that allows businesses
to run application programs in the Amazon Web Services (AWS) public cloud. Amazon EC2
allows a developer to spin up virtual machines (VMs), which provide compute capacity for IT
projects and cloud workloads that run with global AWS data centers.
An AWS user can increase or decrease instance capacity as needed within minutes using the
Amazon EC2 web interface or an application programming interface (API). A developer can
code an application to scale instances automatically with AWS Auto Scaling. A developer can
also define an autoscaling policy and group to manage multiple instances at once.
A developer then chooses EC2 from the AWS Services dashboard and 'launch instance' in the
EC2 console. At this point, they select either an Amazon Machine Image (AMI) template or
create an AMI containing an operating system, application programs, and configuration settings.
The AMI is then uploaded to the Amazon S3 and registered with Amazon EC2, creating an AMI
identifier. Once this has been done, the subscriber can requisition virtual machines on an as-
needed basis.
Data only remains on an EC2 instance while it is running, but a developer can use an Amazon
Elastic Block Store volume for an extra level of durability and Amazon S3 for EC2 data backup.
3 : Click on the top right corner button name “opt out to the old experience”
4 : select Amazon linux which is free tier eligible and click on next button.
Fig. 2.4 Step 1 After click on button name “opt out to the old experience”
11 : Select the check box for the key pair that you created, and then choose Launch Instances.
Now write “ec2-user” and press enter. Now our we are on our instance. To check that write
command “pwd” and press ok then path will be shown.
Practical – 3
AWS Identity and Access Management (IAM) is a web service that helps you securely
control access to AWS resources. You use IAM to control who is authenticated (signed in) and
authorized (has permissions) to use resources.
3 : Add users name for each user and password and then click on ‘next’ button.
8 : After creating users click on any user then user details will be shown.
9 : Now open AWS sing in page in another window and choose IAM user and fill login details.
2 : Add the name of group ans select users for that group.
3 : Add the policies for that group and click on ‘create’ button.
Now user group is created. Using that we can give same access to multiple users.
Practical – 4
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers
industry-leading scalability, data availability, security, and performance. Customers of all sizes
and industries can use Amazon S3 to store and protect any amount of data for a range of use
cases, such as data lakes, websites, mobile applications, backup and restore, archive, enterprise
applications, IoT devices, and big data analytics. Amazon S3 provides management features so
that you can optimize, organize, and configure access to your data to meet your specific business,
organizational, and compliance requirements.
Features of Amazon S3 :
Storage classes
Storage management
Access management
Data processing
Storage logging and monitoring
Analytics and insights
Strong consistency
1. Go to AWS S3 service :
9. Now one url is given for this file copy this url link and open it in new window.
11. Now go to permission of bucket and click on ‘Edit’ button of bucket public access.
12. Now uncheck ‘Block all public access’ and click on ‘save’ button.
14. Now select uploaded file and go to action in that go to ‘Make public using ACL’.
16. After making public refresh the object page. Now it will work.
3. Now enable static website hosting and give default page and error page name.
6. In the static website hosting property one url will be generated open that in another window.
Now our website is hosted.
7. To check error page rename the index.html file and refresh the url.
Practical – 5
Amazon Virtual Private Cloud (Amazon VPC) provides a logically isolated area of the AWS
cloud where you can launch AWS resources in a virtual network that you define.
You have complete control over your virtual networking environment, including a selection
of your IP address range, the creation of subnets, and configuration of route tables and network
gateways.
You can easily customize the network configuration for your Amazon Virtual Private Cloud.
For example, you can create a public-facing subnet for web servers that can access to the internet
and can also place your backend system such as databases or application servers to a private-
facing subnet.
You can provide multiple layers of security, including security groups and network access
control lists, to help control access to Amazon EC2 instances in each subnet.
12. Now create EC2 instance and in step 3 of creation enter details as shown below.
Practical – 6
AWS RDS is short for Amazon Relational Database Service. It provides affordable relational
databases in the cloud, that is easy to use.
Amazon RDS creates multiple instances for high availability and failovers
Amazon RDS supports PostgreSQL, MySQL, Maria DB, Oracle, SQL Server, and Amazon
Aurora
Amazon Relational Database Service (RDS) is a managed SQL database service provided by
Amazon Web Services (AWS). Amazon RDS supports an array of database engines to store and
organize data. It also helps in relational database management tasks like data migration, backup,
recovery and patching.
Amazon RDS facilitates the deployment and maintenance of relational databases in the cloud.
Cloud administrators use Amazon RDS to set up, operate, manage, and scale relational instances
of cloud databases. Amazon RDS itself is not a database; It is a service used to manage relational
databases.
Practical – 7
AWS Elastic Beanstalk is an AWS managed service for web applications. Elastic beanstalk
is a pre-configured EC2 server that can directly take up your application code and environment
configurations and use it to automatically provision and deploy the required resources within
AWS to run the web application. Unlike EC-2 which is Infrastructure as a service, Elastic
beanstalk is a Platform As A service (PAAS) as it allows users to directly us a pre-configured
server for their application. Of course you can deploy applications without ever having to use
elastic beanstalk but that would mean having to chose the appropriate service from the vast
array of services offered by AWS, manually provisioning these AWS resources and stitching
them up together to form a complete web-application.
Elastic beanstalk abstracts the underlying configuration work and allows you as a user to
focus on more pressing matters.
Elastic Beanstalk takes care of the hosting infrastructure, coding language interpreter,
operating system, security, https service and application layer. All you need to worry about is
writing your code.
3. Enter the name of the application and choose platform of the application and click on ‘create’
button.
5. Now the our php default application is hosted which will be accessible using given link.
6. After open that link in new tab it will show like given below.
Fig. 7.1
7.10 Error page of php application
Practical – 8
AWS Lambda is the event-based serverless computing service for the AWS platform.
Event-driven functions are compute events that happen automatically in response to various
inputs known as triggers. This is sometimes called Functions-as-a-Service (FaaS), though the
AWS Lambda ecosystem extends beyond that. More on event-driven functions later.
Through serverless computing, Lambda lets developers write and execute code without
worrying about administrative tasks.
Those tasks include booking server resources from a cloud provider, maintaining servers in
optimal condition, scaling RAM, CPU, and memory resources up and down manually,
managing the underlying operating system, or patching security issues.
AWS takes care of all that and more on your developers’ behalf. That way, they can focus
on writing code that’ll ensure your customers have smooth service delivery. All your
developers need to do is bring your code to AWS to deploy it for the specific use cases you
want to see.
Practical – 9
AWS Elastic Load Balancing (ELB) distributes incoming application traffic automatically across
multiple targets such as containers, EC2 instances, and IP addresses in one or more availability
zones. This distributes and balances how frontend traffic reaches backend servers and increases
the fault tolerance and availability of user applications. AWS load balancing also
monitors registered targets for health and routes distributes traffic accordingly.
The previous-generation AWS classic type of load balancer is now only recommended where
users have instances running on an EC2-Classic network. For all other users, AWS Classic Load
Balancer features can be replaced by either AWS Network Load Balancer (NLB) or AWS
Application Load Balancer (ALB).
2. After creating EC2 instances go to EC2 load balancer and click on “create balancer”.
7. Select instances.
8. Now firstly we are on first instance and after refresh the page we are move to second instance.