Posts

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.

AWS Server-less Application Model (SAM) and cloud formation Stacks

Image
In a typical client server model. You have a client and a server that is always running and that is going to be listening any http requests.  for example, if you have a sample application you make a request a server to get all todo task it will provide a result and sit idle but it is always going to be running.  So on the other end if we talk about server-less, we don't have consistent running server. When we make a request to get all todo tasks, server-less creates a function with a block of functionality which contains a little bit of code and this block of code is going to fetch data and provide the response.  The function or a block of code was not running in the background it is created when we make a http request. It really really cheap (only pay for what you use), fully managed and Reduce complexity to manage servers. There are multiple AWS Services which support Server-less. let list them below. Aws Cognito Aws lambda Aws DynamoDb Aws Api Gateway Aws S3 Aws SNS an...

MySQL Docker Container Setup And Configuration On Windows 10

Image
MYSQL Docker Container Setup and Configuration on Windows 10 MYSQL : MySQL is an open-source relational database management system. It can be used for medium and small-size databases. Docker: Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software. 1. MySQL Image: First step is to get the latest image from the docker hub. >>> docker pull mysql/mysql-server:latest It will pull the latest MySQL image from the docker hub. 2. Docker images: >>> docker images It will show all the images. 3. Docker container: Now it's time to create a MySQL container from the image. >>> Docker run  -d -p 2233:3306 --name <container name>  docker run -d -p 80:80 docker/getting-started container name could be any name like 'SqlContainer' or 'MysqlContainer' 4. Docker running containers: >>> docke...