Skip to content

Cannot connect to Elasticache Redis Cluster From App Runner #5855

Closed Answered by smc-dotexe
smc-dotexe asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out I had to create and configure a VPC instead of using App Runner's default creation.
This involved creating NAT gateways with elastic ips to connect to the subnets.
Also had to initialize the environment to use the existing VPC that I just created along with the security groups.
The addon/template.yml file needed to list create a VPC Connector resource.

So a lot of trial and error and after about a week of troubleshooting I was finally able to figure it out.

This is what my environment manifest.yml file looks like:

network:
  vpc:
    id: vpc-****
    subnets:
      public:
        - id: subnet-****
        - id: subnet-****
      private:
        - id: subnet-****
        - id: …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dannyrandall
Comment options

Answer selected by smc-dotexe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants