I've had a couple of customers inquire about self-hosted deployments, and I'm really struggling to figure out the best approach for remote support. When an issue arises, what's the best method to tackle it? Should I use SSH or set up a VPN? I'm relatively new to this area, so I would truly appreciate any suggestions or insights!
2 Answers
Could you clarify what specifically you need support for? Are you managing EC2 instances, or is it more about the AWS console? Knowing that would help in giving you a more tailored approach!
A great solution is using AWS Systems Manager (SSM). It's secure and keeps you from needing public IP addresses or VPNs. You can access your instances via the AWS API, which is pretty handy. SSM also logs everything securely, making it easy to track your interactions. You could even set it up to replace SSH in your config file, letting you connect like this:
Host my-aws-host
Hostname i-
User ubuntu
IdentityFile ~/.ssh/ec2-ssh-key.pem
ProxyCommand sh -c "aws ssm start-session --profile MyDevSSOProfile --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p' --region us-east-2"
This way, you can securely access your EC2 instances with ease!

I'm primarily looking to support self-hosted EC2 instances for my clients.