- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello, and thank you for using Amazon Lightsail.
To do this, you'd want to use Lightsail's VPC Peering feature: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-vpc-peering-with-aws-resources
You would need the ElastiCache Redis cluster to be created in your account's default VPC. Then, after enabling VPC peering in the region within Lightsail, you should be able to connect to your Redis cluster, assuming your cluster's security group rules allow it.
I hope this helps!
-Max
Hello,
Thanks for the answer. I tried and it didn't work for me =( At that moment.. when I was sure that everything was now correctly configured - I still could not connect to the primary endpoint of my ElastiCache Redis.
Has anyone made a good post or video review about this case?
Kind regards
I think the answer given by Max doesn't consider you're using Lightsail Container Service. What you probably need to do is make use of the peer-vpc cli command (see: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/peer-vpc.html) to peer the lightsail vpc with your default vpc. then add the lightsail cidr to the security group inbound rule as allowed source.
Contenus pertinents
- demandé il y a un an
- demandé il y a 13 jours
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
So to clarify, you have an Amazon ElastiCache for Redis cluster running in one subnet of your VPC and would like to connect the ElastiCache cluster to a Lightsail container running in another subnet in the same VPC?