How to establish connection between AWS account to outside services or application (which are not on AWS)

60 views Asked by At

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!

2

There are 2 answers

0
John Rotenstein On

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.

2
Muzaffar Shaikh On

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.