You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now inside the directory "private-key" replace the contents of terraform-key.pem file with your .pem file contents & change the permission of the file using the following command.
chmod 400 terraform-key.pem
Next, run the following terraform commands to create resources & deploy the application on AWS ec2 instance:
terraform init
terraform apply --auto-approve
To access the jenkins server, the copy the ec2-public-ip or ec2-publicdns of your ec2-instance & paste it in the browser with port number 8080. For example
62.55.96.11:8080
Finally, run the following terraform command to clean-up the created resources.