Aws Dynamic Hosting
Aws Dynamic Hosting
Aws Dynamic Hosting
-----------------------------
->In this we are deploying a java project in aws using ec2 instance.
steps:
EC2 -> launch instance -> give name for vm -> select os(ubuntu) ->
keypair(existing or new key pair) -> security groups (initially select the launch
wizard 1) -> launch instance.
->open git bash in the same directory where your keypair.pem file
there. later type the commands
$ ec2-44-201-127-7.compute-1.amazonaws.com (optional)
=>After doing the above things the git bash terminal connects to the ec2
instance.
=> Later in the terminal type the commands to update the instance.
$ sudo su