Thursday, March 23, 2023

AWS - EBS (Amazon Elastic Block Store) and EBS Types

Amazon Elastic Block Store (EBS) is a block-level storage service provided by Amazon Web Services (AWS) that enables you to create persistent block-level storage volumes and attach them to Amazon Elastic Compute Cloud (EC2) instances. EBS volumes are highly available, durable, and scalable, and provide consistent performance for I/O-intensive workloads.

EBS volumes are designed to be used with EC2 instances and can be easily attached or detached from instances as needed. This makes it easy to create and manage storage volumes for your EC2 instances. You can create EBS volumes in different sizes and types to meet your storage requirements.

There are different types of EBS volumes available, such as

General Purpose SSD (GP2),

Provisioned IOPS SSD (io1),

Throughput Optimized HDD (st1), and Cold HDD (sc1).

Each of these types has different performance characteristics and pricing, allowing you to choose the most suitable volume for your workload.

EBS volumes are an essential component of many AWS services, including EC2 instances, Relational Database Service (RDS), and Elastic Kubernetes Service (EKS).

how do you copy Amazon AMI from one region to another

To copy an Amazon Machine Image (AMI) from one region to another, you can follow these steps:

  1. Open the Amazon EC2 Console and select the region where the AMI you want to copy is currently located.

  2. Select the AMI you want to copy from the list of available images.

  3. Click the "Actions" button and select "Copy AMI" from the drop-down menu.

  4. In the "Copy AMI" dialog box, select the destination region where you want to copy the AMI.

  5. Set the appropriate values for the "Name" and "Description" fields.

  6. If required, modify the "Encryption settings" as per your need.

  7. Click "Copy AMI" to initiate the copying process.

  8. Monitor the progress of the AMI copying process. Once completed, the AMI will be available in the destination region.

Note that during the copying process, you will be charged for data transfer between regions and storage of the copied AMI in the destination region.

Also, not all AMIs can be copied, and some may require special permissions.

create an Amazon Machine Image (AMI) of an EC2 instance

 To create an Amazon Machine Image (AMI) of an EC2 instance, you can follow these steps:

  1. Log in to your AWS Management Console and navigate to the EC2 service.
  2. Select the instance you want to create an AMI of.
  3. Click on the "Actions" dropdown menu and select "Create Image".
  4. Enter a name and description for the AMI.
  5. Choose the volume type (e.g. EBS or instance store) for the AMI.
  6. Select whether to encrypt the AMI or not.
  7. Click on "Create Image" to start the process.

The process of creating an AMI may take several minutes, depending on the size of the instance and the amount of data stored on the volumes.

Once the AMI is created, you can use it to launch new instances with the same configuration and software installed as the original instance.

You can also share the AMI with other AWS accounts or make it publicly available in the AWS Marketplace.

Time Intelligence Functions in Power BI: A Comprehensive Guide

Time intelligence is one of the most powerful features of Power BI, enabling users to analyze data over time periods and extract meaningful ...