Kubernetes- Kubernetes is an open-source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.

Problem


EBS is elastic block storage, it works like a pendrive for your OS but be careful that you have to select availability zone same as EC2 instance.

There are many types of volumes but default is gp2. These are gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes.

Next you have to select the size you want to give, 30 GB is free to use in total in AWS.

Command to Create it is

aws ec2 create-volume --volume-type gp2 --size sizeInGiB \
--availability-zone…

EBS means elastic block storage. It is like a storage that can be used as pendrive for your ec2 instance. One volume is created when you launch an instance.

To Create an ebs volume, Click

Now, After you have created an ebs volume or maybe having number of volumes. To list the number of volumes present use command

aws ec2 describe-volumes

Now, Select the volume id and keep it with you.

Another thing you need is Instance with which you want to connect it.

Use the below command to check available instances.

aws ec2 describe-instances

Now, copy the instance id…


Aws-Cli

AWS provides us different ways to communicate, one of them is CLI.

Command Line Interface is used for customization and saving the precious time that is used in manual things. For example if I want to launch 100 instances with different OS in aws then a lot of time is going to be wasted but with CLI power it can be done in just few minutes.

First things first an IAM account is required to this we can do this by root account but IAM is preferred. To know more about it

Click -: https://ayanchawlae.medium.com/creating-an-iam-for-aws-ef3d643b51e7

Lets Start launching an EC2…


Creating Key-Pair and Security Groups

1. Creating a Keypair for ec2 instance with AWS-CLI

Key-Pairs are the pair of public and private key for any login credentials of ec2 instances in aws.

If you already have key-pair you can use that or you can create a new, but be careful with it as you will get its access only once so better remember where are you storing it.

These are also used when logging in an instance using SSH.

Command to create a new Key-Pair

aws ec2 create-key-pair --key-name KeyPairName

Now, you will see it on the terminal either copy it and paste it in a file named keypair.pem or you can use command.


IAM account creating for aws-cli configuration.


AWS is amazon cloud providing a huge number up to 2500 services in cloud and they are helping each and every enterprise whether small, big, or medium.

I am majorly focusing on the use case of Scientific Computing.

AWS is working with research labs and institutions to provide them the Cloud compute and many more facilities.

The Experiment that Discovered the Higgs Boson Uses AWS to Probe Nature

The Higgs boson (sometimes referred to as the God Particle), responsible for providing insight into the origin of mass. Steps Involved-:

1. The high energy particle collisions turn mass into energy, which…

Ayanchawla

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store