Upgrade Fedora 21 to 22 -using shell

Upgrade using fedup (recommended). yum update -y yum install fedup -y fedup –network 22

Full Story »

AWS EC2 – Howto access Windows instance

AWS EC2 – Howto access Windows instance, unlike linux instance here you can use password to connect rdp service. You need to first generate password for windows instance. To access windows instance dashboard select instance click connect click get password browse pem file click on decrypt password use descrypted password to connect windows instance using […]

Full Story »

AWS EC2 – Configure Load Balancer

AWS EC2 – Configure Load Balancer assuming that you are creating web load balancer 1) ensure http service is running on all instances 2) network & security –> load balancers create new load balancer mention name configure laod balancer & instance port / services assign security group same as used for all instances tobe assigned […]

Full Story »

AWS EC2 – Manage security group (firewall)

AWS EC2 – Manage security group (firewall) When you launch new instance by default all outbound traffic is allowed from ec2 but for inbound only ssh is allowed. which can later be managed with security groups. To add / remove ports for inbound access 1) network & security 2) security groups 3) select security group […]

Full Story »

AWS EC2 Manage Images – AMIs

AWS EC2 Manage Images – AMIs You can create your own image which can be later used to create new ec2 instances. This can work as templates. To create image select ec2 instance actions images create image Once this image is created you can use it to create new ec2 instances. create instance from image […]

Full Story »

AWS EC2 – Manage instance snapshot

AWS EC2 instance snapshot can be useful for quick backup & restore. To create snapshop 1) elastic block store –> volumes ensure you can coorelate volume name with ec2 instance, for future reference note down “attachment information” as it contains instance id & volume addressing 2) elastic block store –> snapshopts create snapshot select volume […]

Full Story »

AWS EC2 – lost instance key

Only way to connect ec2 linux instance is using a key. As I usually forget passwords I use ssh key to connect any critical linux machine running at my workplace. Assuming one day I’ll loose instance Key I though of trying to regenrate or redownload old key but there is no option I could find, […]

Full Story »

AWS EC2 – ssh linux instance without password

AWS EC2 – ssh linux instance, To ssh linux instance you need to use identity key which is either created while launching new instance or existing key. download & store .pem file chmod 600 KEY.pem mv KEY.pem ~/.ssh/identity_HOST.pem update cat ~/.ssh/config to ssh without -i key Host ec2-1 HostName LINUXINSTANCE2 Port 22 User ec2-user IdentityFile […]

Full Story »

AWS EC2 changes ip on every stop / start

EC2 instance will change ip with every stop / start of instance to fix this you need to use elastic ip which is permanent. Unless you release elastic ip you can use it wit this or any other instance. 1) goto ec2 dashboard 2) elastic ips 3) allocate new address #this will assign new public […]

Full Story »
Page 1 of 38123456»102030...Last »

Trending Posts