跳至内容

My PC is not linked to my Subnet, why?

0

Opening VpcDetails, on the web console, and clicking on my VPC , I can see my VPC and the only subnet I created. But they are not linked toghether as usual. I mean: there is a link between subnet and route table and between route table and internet gateway I expect there is a link between vpc and subnet. What I am missing?

My Vpc is 10.0.0.0/16 2a05:d01a:344:4900::/56

My Subnet is 10.0.1.0/24 2a05:d01a:344:4900::/64

This into the template

  VPC:
    Type: AWS::EC2::VPC
    Properties:
      CidrBlock: 10.0.0.0/16
      EnableDnsSupport: true
      EnableDnsHostnames: true
      Tags:
        - Key: Name
          Value: VPC

  PublicIpv6SubnetA:
    Type: AWS::EC2::Subnet
    Properties:
      # CidrBlock: 10.0.1.0/24
      # ogni interfaccia di rete creata in questa subnet riceverà un ipv6
      AssignIpv6AddressOnCreation: true
      Ipv6Native: true
      Ipv6CidrBlock: !Sub
        - ${VpcPart}${SubnetPart}
        - SubnetPart: 00::/64
          VpcPart: !Select
            - 0
            - !Split
              - 00::/56
              - !Select
                - 0
                - !GetAtt VPC.Ipv6CidrBlocks
      AvailabilityZone: !Select
        - 0
        - !GetAZs ""
      VpcId: !Ref VPC
      # questa voce non si sa se erva
      # EnableDns64: true
      Tags:
        - Key: Name
          Value: Public IPV6 Subnet A
1 回答
2
已接受的回答

Hello.

Where do you check to determine that the VPC and subnet are not linked?
Does this mean that the subnet is not displayed when you check the VPC resource map as shown below?
By the way, if a subnet is displayed here, it means it is a subnet within a VPC.
It is normal UI that VPC and subnet are not connected by a line.
https://docs.aws.amazon.com/vpc/latest/userguide/modify-vpcs.html#view-vpc-resource-map
a

专家

已回答 2 年前

专家

已审核 2 年前

AWS
专家

已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。