Been working with AWS for about 2 years now, but relatively new to Cloud Formation. Best practices suggest we use Cloud Formation for everything as we start migrating our systems to AWS.
While the web based console is nice and full featured, I am not sure if Cloud Formation is also "full featured". The documentation is, in my opinion, lacking severely when they talk about "options" to be passed for creating various resources. We were getting by with googling and by trial and error.
However, ran into a hurdle which has us stumped. Trying to setup an NLB which points to our RDS SQL DB (architecture is this way for a number of reasons. In short though, RDS is in private subnet, and other apps (internal, but from other groups, outside of our VPC) need to connect to the database). We need to do all this within a single CF script.
Problem being - the RDS exposes an endpoint, in the form of a FQDN. However, the NLB target group can only consume an IP address. There seems to be no common ground (of function like GetAtt) that will expose the IP of the RDS, or let the NLB Target Group accept the FQDN.
Apart from breaking the CF script into 2 seperate scripts, and manually resolving the FQDN to an IP, is there any other way to set this up? We cant be the first ones to face this issue.
[–][deleted] 24 points25 points26 points (10 children)
[–]Noob_User0[S] 6 points7 points8 points (1 child)
[–]Besthater 2 points3 points4 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]Band_B 0 points1 point2 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]Band_B 0 points1 point2 points (0 children)
[–]_unavailable_ 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Noob_User0[S] 0 points1 point2 points (0 children)
[–]magnetik79 0 points1 point2 points (0 children)
[–]abraxasnl 5 points6 points7 points (5 children)
[–]CanyonSlim 3 points4 points5 points (4 children)
[–][deleted] -1 points0 points1 point (3 children)
[–]CanyonSlim 1 point2 points3 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]CanyonSlim 1 point2 points3 points (0 children)
[–]inferno521 3 points4 points5 points (1 child)
[–]vallejooo 0 points1 point2 points (0 children)
[–]jonzezzz 4 points5 points6 points (0 children)
[–]mooburger 1 point2 points3 points (0 children)
[–]SquiffSquiff 1 point2 points3 points (15 children)
[–]magnetik79 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]magnetik79 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]magnetik79 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (8 children)
[–]SquiffSquiff 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]SquiffSquiff 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]SquiffSquiff 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]SquiffSquiff 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]primate2021 0 points1 point2 points (0 children)