Posts

Showing posts from August, 2023

Create a VPC resource using terraform

 Create VPC resource using terraform Open visual studio code and create a simple file with extension .tf Now open this link to see basic example of creating aws vps using terraform https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc

How to generate key-pair to access git repository

Image
 Generate Key pair to access git repository Windows: Open power shell and type following bellow given command. ssh-keygen -t rsa -b 2048 -t mean type rsa is a type -b means byte 2048 bytes   After entering the command it will ask few questions mentioned in screen shot below Open the file having key pair. mentioned below in screen shot Now key-pair is created, public key is a key with p sign. open the file and select the whole text. mention below in snap shot Upload public key to git hub to access the repository Go to github, under your profile icon, select settings In settings, on left select SSH AND GPG keys select and Add new SSH key  Now public ssh-key is successfully added on github and private is already on your system Now you can clone the repositories on this account where you added the public ssh-key.