내용으로 건너뛰기

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠