Passer au contenu

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 réponse
2
Réponse acceptée

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

EXPERT

répondu il y a 2 ans

EXPERT

vérifié il y a 2 ans

AWS
EXPERT

vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.