I am new to AWS services. I created an EC2 instance of Ubuntu and I was able to connect to it. I was able to run TeamCity and Rails server on the instance and things were fine. I created an image of the instance and now I can not ssh back.
Help is much appreciated. Thanks!
which country are you from? i know in china, the instances of ec2 cannot be connected unless you use a VPN tool.
Related
I have a website that is running in Oracle Cloud, the website now is down and I tried to access using SSH in Putty but it cannot be accessed I only see the terminal screen.
What should I do?
Could you please check if the instance is running or not. If the instance is running please check for the ingress/egress firewall rules at security list/NSG/OS firewall for connectivity to the instance. Make sure you are not connected to any VPN or any corporate network. Once you are able to connect to the instance check for the status of the service. It should be Active.
Could you please confirm, were you able to connect to the instance before? Since when you are facing this issue?
For your reference: connecting to your instance.
I have installed an App with Apache tomcat on AWS ec2 instance. I am able to access the tomcat url (which is server_name:8080/BOE/BI) from the AWS instance on Win2016. Also I installed IIS on the server.
Now what are the configurations I need to do to on AWS ec2 instance to access the URL from outside the AWS instance like from my personal PC.
I also tried disabling the firewalls, it did not helped.
You need to look at security groups. This will allow you to open up ports on your EC2 instance from the outside world.
We have 5 t2.medium instances on AWS, all the instances connect to MariaDB via RDS on a r4.xlarge instance.
The problem is that periodically the 5 instances suddenly stop working, Apache doesn't response anymore and we can't access via SSH.
We need to reboot all instances on the AWS Console to make them work again, the Load Balancer is an application lb, the server folder "/var/www" is on a EFS to share the project.
These are the images of the monitoring, we don't know why this happen so suddenly and how can we handle it.
The last issue was this morning the 5 instances stop working and the Load balancer to.
We share the monitoring of the last 12 hours.
Any advice?
Regards.
I would like to use packer to build AMI's where SSH is not running. This will be for immutable infrastructure. We will be building base / golden images and then building more streamlined images from the base image but, ultimately, I don't want SSH or any other means of remote access to the image. Can packer do this?
I'm not sure about Packer's ability to do this. However, you could use AWS Security Groups to control SSH access to your EC2 instances after they've been spun up using your AMIs.
Just create a Security Group that denies all ingress connections, and place your EC2 instance into it.
Has anybody tried out virtual machines in the UK area of bluemix?
I am able to start a vm but get an timeout when i try so connect to the vm via ssh.
I used the std Debian image that can be choosen on setup time and injected an ssh key for connecting. The security group I used was allow_all.
When trying to ping or to connect via ssh directly or the openstack cli the connection times out.
regards
Johannes
There was a bug in the setup of the vm, so I actually had no chance to access it.