forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbastion.yml
38 lines (34 loc) · 862 Bytes
/
bastion.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
AWSTemplateFormatVersion: '2010-09-09'
Description: The AWS CloudFormation template for wallet
Resources:
BastionHost:
Type: AWS::EC2::Instance
Properties:
InstanceType: t2.medium
ImageId: ami-00399ec92321828f5
KeyName: aleph
SubnetId:
Fn::ImportValue: prod-public-subnet1-id
SecurityGroupIds:
- Fn::ImportValue: prod-bastion-security-group-id
Tags:
- Key: Name
Value: prod-bastion
Eip:
Type: AWS::EC2::EIP
Properties:
Domain: vpc
EIPAssoc:
Type: AWS::EC2::EIPAssociation
Properties:
InstanceId: !Ref BastionHost
EIP: !Ref Eip
# BastionHostRecordSet:
# Type: AWS::Route53::RecordSet
# Properties:
# HostedZoneId: TODO
# Name: TODO
# TTL: 300
# Type: A
# ResourceRecords:
# - Ref: Eip