Posts

Showing posts from 2017

AWS: Creating an Virtual Private Cloud (VPC)

Image
Amazon VPC   allows   to launch the Aws   resources   into a virtual network that we have defined. If we have a default VPC we can skip this section. Create a Security Group. We can create a   non-default   VPC in our account using the below steps. If our account   supports   EC2-Classic in a   region, then   we do not have the default VPC in that region and T2 instances should be launched into a VPC only. To Create a   non-default   VPC a) . Open the Amazon VPC console at https://console.aws.amazon.com .  b) .  Sign in and Click on VPC.  c).  From the navigation bar, select a region for the VPC.   VPC   is  specific to a region, so you should select the same region in which you created your key pair. d).  On the VPC dashboard, click  Start VPC Wizard . e)...

AWS: Creating an security group for access.

Image
Amazon provided Security groups which acts as a firewall for associated instances, controlling both the in and   outbound   traffic at the instance level. We much add rules to the security group that enables you to connect to our instances from the IP address using for RDP. We can also add rules that allow in/ out bout of HTTP and HTTPS access from   anywhere. Note:  If we plan to launch instances in multiple regions we needed to create a security   group   in each region. Prerequisites:   We need the public IP   address   of all the local computers from which we want to use   this service. To Create a security group with least   privileges. a) . Open the Amazon EC2 console. b). From the navigation bar, select a region for the security group. Security groups are specific to a region, so you should select the same region in which you created your key pair. c) . Selec...

AWS: Creating an IAM user

Image
As the AWS services like Amazon EC2 are accessed using the provided credentials when we access these services it will check whether we have the permissions to access the resources the  console  asks for the password. We can create the access keys to access the AWS account from command line or API interfaces. But for the security reasons Amazon will not recommend that to access the AWS account using the credentials which we created while the  Sign  UP. For that Amazon recommends to use the IAM  (  Identity and Access Management) instead. To create an IAM user and then add the user to an IAM group with administrative permissions and grant the user with administrative permissions we can access AWS using the special URL and credentials for that IAM user. T o create a group for administrators a).  Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com and Click on  Sign in the Console. ...

AWS: Terminating Your Instance

Image
Terminating  Your Instance After you've finished with the instance that you created for this tutorial, you should clean up by terminating the instance. If you want to do more with this instance before you clean up, see Next Steps. Important:  Terminating an instance effectively deletes it; you can't reconnect to an instance after you've terminated it.  If you launched an instance that is not within the AWS Free Tier, you will stop incurring charges for that  instance, as  soon as the instance status changes to shutting down or terminated. If you'd like to keep your instance for later, but not incur charges, you can stop the instance now and then start it again later. To terminate your instance In the navigation pane, choose Instances. In the list of instances, select the instance. 1.  Choose Actions, then Instance State, and then choose Terminate. 2.  Choose Yes, Terminate when prompted for confir...

AWS: Connecting to Your Instance

Image
Connecting to Your Instance To connect to a Windows instance, you must have and we have to retrieve the initial administrator password and then specify this password when you connect to your instance using Remote Desktop. Note  : If you have joined your instance to a domain, you can connect to your instance using domain credentials you have defined in AWS Directory Service. To connect to your Windows instance using an RDP client 1.  In the Amazon EC2 console, select the instance, and then choose Connect. 2.  In the Connect To Your Instance dialog box, choose Get Password (it will take a few minutes after the instance is launched before the password is available). 3.  Choose Browse and navigate to the private key file you created when you launched the instance. Select the file and choose Open to copy the entire contents of the file into contents box. 4.  Choose Decrypt Password. The console ...