Skip to content

Commit fb82811

Browse files
committed
software update 7.0.11
1 parent 2155f36 commit fb82811

File tree

2 files changed

+80
-12
lines changed

2 files changed

+80
-12
lines changed

cloudformation-templates/vpc-appliance.yml

Lines changed: 60 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,14 @@ Resources:
150150
# first DNS entry, split on :, second value
151151
ResourceRecords:
152152
- !Select [1, !Split [":", !Select [0, !GetAtt s3Endpoint.DnsEntries ] ] ]
153-
iotEndpoint:
153+
iotHostedZone:
154+
Type: AWS::Route53::HostedZone
155+
Properties:
156+
Name: !Sub iot.${AWS::Region}.amazonaws.com
157+
VPCs:
158+
- VPCId: !Ref vpc
159+
VPCRegion: !Ref AWS::Region
160+
iotDataEndpoint:
154161
Type: AWS::EC2::VPCEndpoint
155162
Properties:
156163
ServiceName: !Sub com.amazonaws.${AWS::Region}.iot.data
@@ -162,25 +169,66 @@ Resources:
162169
SubnetIds:
163170
- !Ref privateSubnetA
164171
- !Ref privateSubnetB
165-
iotHostedZone:
166-
Type: AWS::Route53::HostedZone
167-
Properties:
168-
Name: !Sub iot.${AWS::Region}.amazonaws.com
169-
VPCs:
170-
- VPCId: !Ref vpc
171-
VPCRegion: !Ref AWS::Region
172-
iotRecords:
172+
iotDataRecords:
173173
Type: AWS::Route53::RecordSet
174174
Properties:
175175
HostedZoneId: !Ref iotHostedZone
176176
Name: !Sub "*.iot.${AWS::Region}.amazonaws.com"
177177
Type: A
178178
AliasTarget:
179179
# first DNS entry, split on :, second value
180-
DNSName: !Select [1, !Split [":", !Select [0, !GetAtt iotEndpoint.DnsEntries ] ] ]
180+
DNSName: !Select [1, !Split [":", !Select [0, !GetAtt iotDataEndpoint.DnsEntries ] ] ]
181181
# hosted zone of the endpoint, not in this account
182-
HostedZoneId: !Select [0, !Split [":", !Select [0, !GetAtt iotEndpoint.DnsEntries ] ] ]
182+
HostedZoneId: !Select [0, !Split [":", !Select [0, !GetAtt iotDataEndpoint.DnsEntries ] ] ]
183183
EvaluateTargetHealth: true
184+
iotCredentialsEndpoint:
185+
Type: AWS::EC2::VPCEndpoint
186+
Properties:
187+
ServiceName: !Sub com.amazonaws.${AWS::Region}.iot.credentials
188+
VpcId: !Ref vpc
189+
VpcEndpointType: Interface
190+
SecurityGroupIds:
191+
- !GetAtt vpc.DefaultSecurityGroup
192+
PrivateDnsEnabled: false
193+
SubnetIds:
194+
- !Ref privateSubnetA
195+
- !Ref privateSubnetB
196+
iotCredentialsRecords:
197+
Type: AWS::Route53::RecordSet
198+
Properties:
199+
HostedZoneId: !Ref iotHostedZone
200+
Name: !Sub "*.credentials.iot.${AWS::Region}.amazonaws.com"
201+
Type: A
202+
AliasTarget:
203+
# first DNS entry, split on :, second value
204+
DNSName: !Select [1, !Split [":", !Select [0, !GetAtt iotCredentialsEndpoint.DnsEntries ] ] ]
205+
# hosted zone of the endpoint, not in this account
206+
HostedZoneId: !Select [0, !Split [":", !Select [0, !GetAtt iotCredentialsEndpoint.DnsEntries ] ] ]
207+
EvaluateTargetHealth: true
208+
ecrServiceEndpoint:
209+
Type: AWS::EC2::VPCEndpoint
210+
Properties:
211+
ServiceName: !Sub com.amazonaws.${AWS::Region}.ecr.api
212+
VpcId: !Ref vpc
213+
VpcEndpointType: Interface
214+
SecurityGroupIds:
215+
- !GetAtt vpc.DefaultSecurityGroup
216+
PrivateDnsEnabled: true
217+
SubnetIds:
218+
- !Ref privateSubnetA
219+
- !Ref privateSubnetB
220+
ecrDockerEndpoint:
221+
Type: AWS::EC2::VPCEndpoint
222+
Properties:
223+
ServiceName: !Sub com.amazonaws.${AWS::Region}.ecr.dkr
224+
VpcId: !Ref vpc
225+
VpcEndpointType: Interface
226+
SecurityGroupIds:
227+
- !GetAtt vpc.DefaultSecurityGroup
228+
PrivateDnsEnabled: true
229+
SubnetIds:
230+
- !Ref privateSubnetA
231+
- !Ref privateSubnetB
184232
publicSubnet1:
185233
Type: AWS::EC2::Subnet
186234
Properties:
@@ -246,4 +294,4 @@ Outputs:
246294
Description: Public Subnet A ID
247295
Value: !Ref publicSubnet1
248296
Export:
249-
Name: !Sub ${AWS::StackName}-subnet-public
297+
Name: !Sub ${AWS::StackName}-subnet-public

resources/appliance-changelog.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
The following sections detail updates to the AWS Panorama Appliance software, including changes to the operation system, AWS Panorama libraries, the application SDK, and the application container image.
44

5+
# Device software version 7.0.11
6+
7+
**Release date**: 2023-11-08
8+
9+
**Type**: Optional
10+
11+
## Network requirements
12+
13+
With this update, the appliance uses additional AWS services to manage software updates. If you restrict network communication outbound from the appliance, or connect it to a private VPC subnet, you must allow access to additional endpoints and ports before applying the update.
14+
15+
- Amazon ECR service and Docker registry endpoints
16+
- AWS IoT Core credential provider endpoints
17+
- AWS IoT Core data plane endpoints (additional ports)
18+
19+
For details on ports and endpoints used by the AWS Panorama Appliance, see [Network setup](https://docs.aws.amazon.com/panorama/latest/dev/appliance-network.html).
20+
21+
If you connect your appliance to a private VPC subnet, create VPC endpoints for these services and, for IoT Core, add an additional Route53 record set for subdomains of the credentials endpoint. For more information, see [Using VPC endpoints](https://docs.aws.amazon.com/panorama/latest/dev/api-endpoints.html).
22+
23+
This repo provides a CloudFormation template that demonstrates how to configure VPC endpoints, hosted zones, and record sets in your private subnets: [vpc-appliance.yml](https://github.com/awsdocs/aws-panorama-developer-guide/blob/main/cloudformation-templates/vpc-appliance.yml)
24+
525
# Application base image 1.2.0-py3.8
626

727
**Release date**: 2023-10-17

0 commit comments

Comments
 (0)