can we able to establish the connection between aws account and other services out side the aws? the scenario is like: I want to use my stack template from other application for eg some website A which run the script and create VPC in AWS. for that I need a connection between these two.
is there any way possible?
Thanks in advance!
CodePudding user response:
You can do this using VPC peering. Refer to the link below: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/peer-with-vpc-in-another-account.html
https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
Also you can create a cloud formation template for the existing website in AWS account A and then share that template with other AWS account B.
CodePudding user response:
All AWS operations can be controlled via an API call.
You can do it using the AWS Command-Line Interface (CLI), or you can do it via AWS SDKs in many programming languages.
If you wish to create an AWS CloudFormation stack, you would use the CreateStack - AWS CloudFormation API call.