跳至內容

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

已提問 2 年前檢視次數 404 次

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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。