This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:cloud:aws [2023/10/19 10:03] – jotasandoku | virtualization:cloud:aws [2025/03/25 14:58] (current) – jotasandoku | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| Refreshing workaround for error " | Refreshing workaround for error " | ||
| mv .aws/ | mv .aws/ | ||
| - | aws configure | + | aws configure |
| ./ | ./ | ||
| SIMPLER SETUP. remove credentials when done and set them up again when start working: | SIMPLER SETUP. remove credentials when done and set them up again when start working: | ||
| + | # or just keep credentials but gran/revoke ' | ||
| + | # https:// | ||
| rm / | rm / | ||
| aws configure | aws configure | ||
| - | # aws --profile jaimecli sts get-caller-identity | ||
| aws sts get-caller-identity | aws sts get-caller-identity | ||
| ! when logging off | ! when logging off | ||
| Line 114: | Line 115: | ||
| * An example, rtb for a vpc endpoint: destination: | * An example, rtb for a vpc endpoint: destination: | ||
| * vrf ~= multiple rts/ | * vrf ~= multiple rts/ | ||
| + | * VIRTUAL PRIVATE GATEWAY [vpw]: AWS network service component that serves as the AWS-side endpoint for connecting external networks to a VPC. (can be used with dx or s2s vpn). | ||
| + | * AWS GLOBAL ACCELERATOR: | ||
| Line 141: | Line 144: | ||
| * EC2 | * EC2 | ||
| - | * TRANSIT GATEWAY [tgw] : Similar to transit vpc but more ' | + | |
| - | * VPCs, on-premise stuff and so on, all can connect to the tgw | + | * VPCs, on-premise stuff and so on, all can connect to the tgw : In the transit gatewaym, we create VPC attachments, |
| * If we want traffic between __different regions__ we can do it but peering together transit gateways. | * If we want traffic between __different regions__ we can do it but peering together transit gateways. | ||
| * Manages/ | * Manages/ | ||
| Line 159: | Line 162: | ||
| ---- | ---- | ||
| - | **DIRECTCONNECT [dgw] ** | + | **DIRECTCONNECT [dgw] ** [[https:// |
| * VIF | * VIF | ||
| - | * **DirectConnect Gateway**: We can think of it as a ROUTE REFLECTOR. Not in the forwarding plane. [[https:// | + | * **DirectConnect Gateway**: We can think of it as a ROUTE REFLECTOR. Not in the forwarding plane. [[https:// |
| - | * In aws direct connect gateway also require | + | * virtual private gateway [vpg] between itself and the vpcs ([vpg] are not just for ipsec) |
| + | * [tgw] | ||
| + | * Directconnect can be used with multiple regions single [dgw] connects to multiple | ||
| + | * Directconnect can be used with multiple accounts: [dgw] belongs to account Z, then accounts A and B send ' | ||
| + | * Depending on what we want to access we can create the following interfaces (VIFs) in DirectConnect: | ||
| + | * Private virtual interface | ||
| + | * Public virtual interface | ||
| + | * Transit virtual interface | ||
| + | * BGP MP is not supported. MD5 is enabled by default. | ||
| + | * Peering can/should be done from rfc1918. | ||
| + | * Shorter-prefix, | ||
| Line 285: | Line 298: | ||
| * Is rspan with VXLAN udp-4789 as transport. Target doesn' | * Is rspan with VXLAN udp-4789 as transport. Target doesn' | ||
| * In reality the nitro nic (hypervisor' | * In reality the nitro nic (hypervisor' | ||
| - | |||
| - | ---- | ||
| - | Aws global accelerator: | ||
| - | for those applications that cannot spell dns. \\ | ||
| - | Traffic hits an Anycast address and then goes through Aws internal network.\\ | ||
| - | Aws internal network uses public space.\\ | ||
| - | Your endpoint needs to have public IP, eg alb or nlb | ||
| ---- | ---- | ||
| Line 353: | Line 359: | ||
| AWS autoescaling features only deal with EKS (workers) or EC2 instances. If we want to dynamically allocate other resources like, subnets, directconnects, | AWS autoescaling features only deal with EKS (workers) or EC2 instances. If we want to dynamically allocate other resources like, subnets, directconnects, | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | |||
| + | ---- | ||
| + | Amazon VPC Flow Logs - TODO | ||