aws-samples / aws-refarch-wordpress

This reference architecture provides best practices and a set of YAML CloudFormation templates for deploying WordPress on AWS.
MIT No Attribution
1.08k stars 601 forks source link

Cannot acces EC2 INSTANCE over SSH. Cannot install MEMCACHED on wordpress #47

Closed cmartmen closed 6 years ago

cmartmen commented 6 years ago

Hi I just got started with AWS,one of the important things on this architecture is to be able to use memcached, using W3 Total Cache, which I cant use if I dont have installed php-memcached in the EC2 instance, and for that I need to be able to acces via ssh so as to install it, which I cannot, and I dont know why.

Every time I try to access it just says on ubuntu command line "resource temporarily unavailable"

So to check that there is not any problem with what I am doing, I launched an EC2 instance for testing purpouses, which I was able to acces through ssh with ease.

I have been going at this problem for a week now, and I am kind of desperate. I am aware that I am doing things wrong, but I dont know what is it that Im screwing up. And I have not found any solution, or similar problem online.

Any help will be much appreciated.

Thanks, Charlie

cmartmen commented 6 years ago

Okay so it seams that I needed to create a Bastion Instance, but still have not figured everything out. But it is a step

cmartmen commented 6 years ago

IT TURNED OUT I HAD TO USE BASTION. You use bastion, you ssh and copy key file to instance, and you ssh to the new instance