description |
---|
Disable CloudFormation's SourceDestCheck in EC2 Host metadata |
The AWS Cloudformation template contains a Source Destination Check (SourceDestCheck
parameter) that ensures that an EC2 Host instance is either the source or the destination of any traffic the instance receives. In the DuploCloud Portal, this parameter is specified as true
, by default, enabling source and destination checks.
There are times when you may want to override this default behavior, such as when an EC2 instance runs services such as network address translation, routing, or firewalls. To override the default behavior and set the SourceDestCheck
parameter to false
, use this procedure.
Set AWS CloudFormation SourceDestCheck
to false
for an EC2 Host:
-
In the DuploCloud Portal, navigate to Cloud Services -> Hosts.
-
In the EC2 tab, select the Host for which you want to disable
SourceDestCheck
. -
Click the Metadata tab.
-
Click Add. The Add Metadata pane displays.\
-
In the Key field, enter SourceDestCheck.
-
In the Value field, enter False.
-
Click Create. The Key/Value pair is displayed in the Metadata tab.
EC2 Host page Metadata tab displaying SourceDestCheck Value of False