Please refer the below url https://www.whizlabs.com/blog/using-aws-systems-manager/ Advertisements
PEM CONVERSION USING CLI
To convert Pem to PPK you need puttygen installed in your linux machine and rund the command as follows. To install putty gen in linux. use apt-get or yum installation as per the OS. To convert .pem to .ppk. $ puttygen keyfile.pem -O private -o keyfile.ppk To convert .ppk to .pem $puttygen mykey.ppk -O private-openssh… Continue reading PEM CONVERSION USING CLI
swap space creation in ec2
Created /mnt/swapfile in c server. Followed these steps: Create the file: sudo dd if=/dev/zero of=/mnt/swapfile bs=1024 count=1048576 Set permissions: sudo chmod 600 /mnt/swapfile Format the file: sudo mkswap /mnt/swapfile Edit the file /etc/fstab and add the following line on the top to make the change permanent: /mnt/swapfile none swap sw 0 … Continue reading swap space creation in ec2
My First troposphere code to create instance (sample)
Below is the troposphere library which is used to convert the python script to json and yaml formats which avoids writing of clouformation 🙂 from troposphere import Ref, Template import troposphere.ec2 as ec2 t = Template() instance = ec2.Instance(“myinstance”) instance.ImageId = “ami-951945d0” instance.InstanceType = “t1.micro” t.add_resource(instance) with open(‘jaml.yaml’, ‘w’) as f: // command… Continue reading My First troposphere code to create instance (sample)
step function in aws
Use Case-Workflow Automation using AWS Step function and Lambda