Define and explain the three basic types of cloude services and the The three basic types of cloud services and the AWS products that are built based on them.
The three basic types of cloud services are:
The three basic types of cloud services are:
- Computing
- Storage
- Networking
Here are some of the AWS products that are built based on the three cloud service types:
Computing - These include EC2, Elastic Beanstalk, Lambda, Auto-Scaling, and Lightsat.
Storage - These include S3, Glacier, Elastic Block Storage, Elastic File System.
Networking - These include VPC, Amazon CloudFront, Route53.
What is auto scaling?
Auto-scaling is a function that allows you to provision and launch new instances whenever there is a demand. It allows you to automatically increase or decrease resource capacity in relation to the demand.
What is geo-trageting in CloudFront?
Geo-Targeting is a concept where businesses can show personalized content to their audience based on their geographic location without changing the URL. This helps you create customized content for the audience of a specific geographical area, keeping their needs in the forefront.
What is CloudFront?
CloudFront CDNCloudFront CDN (Computer Delivery Network) is a system of distributed servers that deliver web pages and other web content to a user based on the geographic locations of the user, the origin of the webpage and a content delivery server.
Suppose I am running the website outside the UK and I am serving the website all around the world. When the user wants to access my website, then they request to the web server, and users from different countries will have different latency. For example, People who live in Australia will have more latency than those who stay in India. South Africa has a terrible latency, but they would run internet backbone that makes quicker to connect to the UK. This is how it works with CloudFront CDN in which people spread all around the world, and they can turn on access to the web page, audio files, etc. in the UK.
Computing - These include EC2, Elastic Beanstalk, Lambda, Auto-Scaling, and Lightsat.
Storage - These include S3, Glacier, Elastic Block Storage, Elastic File System.
Networking - These include VPC, Amazon CloudFront, Route53.
What is auto scaling?
Auto-scaling is a function that allows you to provision and launch new instances whenever there is a demand. It allows you to automatically increase or decrease resource capacity in relation to the demand.
What is geo-trageting in CloudFront?
Geo-Targeting is a concept where businesses can show personalized content to their audience based on their geographic location without changing the URL. This helps you create customized content for the audience of a specific geographical area, keeping their needs in the forefront.
What is CloudFront?
CloudFront CDNCloudFront CDN (Computer Delivery Network) is a system of distributed servers that deliver web pages and other web content to a user based on the geographic locations of the user, the origin of the webpage and a content delivery server.
Suppose I am running the website outside the UK and I am serving the website all around the world. When the user wants to access my website, then they request to the web server, and users from different countries will have different latency. For example, People who live in Australia will have more latency than those who stay in India. South Africa has a terrible latency, but they would run internet backbone that makes quicker to connect to the UK. This is how it works with CloudFront CDN in which people spread all around the world, and they can turn on access to the web page, audio files, etc. in the UK.
Key Terminology in CloudFront?
Edge Location: Edge location is the location where the content will be cached. It is a separate to an AWS Region or AWS availability zone.
Origin: It defines the origin of all the files that CDN will distribute. Origin can be either an S3 bucket, an EC2 instance or an Elastic Load Balancer.
Distribution: It is the name given to the CDN which consists of a collection of edge locations. When we create a new CDN in a network with aws means that we are creating a Distribution.
The distribution can be of two types:
AWS services that are not region-specific are:
you may think that both stopping and terminating are the same, there is a difference. When you stop an EC2 instance, it performs a normal shutdown on the instance and moves to a stopped state. However, when you terminate the instance, it is transferred to a stopped state, and the EBS volumes attached to it are deleted and can never be recovered.
What are the different types of EC2 instances based on their cost?
The three types of EC2 instances are:
On-demand Instance
The two key differences between the IAM role and IAM user are:
Edge Location: Edge location is the location where the content will be cached. It is a separate to an AWS Region or AWS availability zone.
Origin: It defines the origin of all the files that CDN will distribute. Origin can be either an S3 bucket, an EC2 instance or an Elastic Load Balancer.
Distribution: It is the name given to the CDN which consists of a collection of edge locations. When we create a new CDN in a network with aws means that we are creating a Distribution.
The distribution can be of two types:
- Web Distribution: It is typically used for websites.
- RTMP: It is used for Media Streaming.
AWS services that are not region-specific are:
- IAM
- Route 53
- Web Application Firewall
- CloudFront
you may think that both stopping and terminating are the same, there is a difference. When you stop an EC2 instance, it performs a normal shutdown on the instance and moves to a stopped state. However, when you terminate the instance, it is transferred to a stopped state, and the EBS volumes attached to it are deleted and can never be recovered.
What are the different types of EC2 instances based on their cost?
The three types of EC2 instances are:
On-demand Instance
- It is cheap for a short time but not when taken for the long term
- It is less expensive than the on-demand instance and can be bought through bidding.
- If you are planning to use an instance for a year or more, then this is the right one for you.
The two key differences between the IAM role and IAM user are:
- An IAM role is an IAM entity that defines a set of permissions for making AWS service requests, while an IAM user has permanent long-term credentials and is used to interact with the AWS services directly.
- In the IAM role, trusted entities, like IAM users, applications, or an AWS service, assume roles whereas the IAM user has full access to all the AWS IAM functionalities.
How to list objects of S3 buckets?
use aws s3 ls --recursive command on aws CLI to list all files or objects under the specified directory or prefix.
How to clear AWS S3 cache?
You can use invalidations to clear AWS S3 cache. To create invalidations login to AWS Console and go to Distribution Settings > Invalidations > Create Invalidation. Once invalidation is created just type path of file or a wildcard to purge the cache.
You can use invalidations to clear AWS S3 cache. To create invalidations login to AWS Console and go to Distribution Settings > Invalidations > Create Invalidation. Once invalidation is created just type path of file or a wildcard to purge the cache.
How to delete a AWS s3 bucket?
Here are steps to delete an S3 bucket:-
Here are steps to delete an S3 bucket:-
- Login to AWS Management Console.
- Select S3 from services.
- Check the bucket you want to delete.
- Click on the delete button. As confirmation Aws ask you to type the bucket name to delete.
- Type bucket name and click on the Confirm button.
Explain S3 Versioning? What are benefits of using versioning in S3.
Versioning allows us to keep multiple variants of an object in a bucket. Versioning helps us to restore an object to a previous or specific version of an object. You can take advantage of versioning to recover a deleted or mistakenly overwritten object.
How to Configure Versioning on a Bucket?
Versioning helps you to keep multiple versions of an object in one bucket. Here are simple steps to enable versioning on an S3 bucket.
Versioning helps you to keep multiple versions of an object in one bucket. Here are simple steps to enable versioning on an S3 bucket.
- Login to your AWS console.
- From services choose S3.
- Select a bucket for which you want to enable versioning.
- Click on the properties tab.
- Choose versioning from properties.
- Choose to enable versioning and click on the Ok button.
No comments:
Post a Comment