Skip to content

Commit

Permalink
docs: use t4g.nano instead of t4g.micro (#91)
Browse files Browse the repository at this point in the history
* docs: use t4g.nano instead of t4g.micro
* NatInstanceProvider is deprecated
  • Loading branch information
jasonkliu authored Jul 25, 2024
1 parent 5059bdc commit 1a6db86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CDK construct in Typescript:

``` ts
const natGatewayProvider = new FckNatInstanceProvider({
instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.MICRO),
instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.NANO),
});
const vpc = new Vpc(this, 'vpc', {
natGatewayProvider,
Expand All @@ -28,8 +28,8 @@ up automatically in case the NAT instance is terminated.
You can also deploy fck-nat in non-HA mode using CDK's built-in `NatInstanceProvider` like so:

``` ts
const natGatewayProvider = new NatInstanceProvider({
instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.MICRO),
const natGatewayProvider = new NatInstanceProviderV2({
instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.NANO),
machineImage: new LookupMachineImage({
name: 'fck-nat-al2023-*-arm64-ebs',
owners: ['568608671756'],
Expand Down

0 comments on commit 1a6db86

Please sign in to comment.