Posts

Showing posts with the label AWS

AWS Local Zones - Understand the Subnets

Image
Local Zones have some attributes that we need to take notes expecially when we need to create EIP or RDS. Below some explainations: Command:    aws ec2   describe-availability-zones --filters "Name=zone-type,Values=local-zone" --region ap-southeast-1 Above is using Bangkok Local Zone ZoneName : This property can be use when we want to create subnet in Local Zone GroupName : I t is use to group all the local zones available in that place\area.  Note: The picture above i am using us-west-2-lax (LA) because Bangkok only have 1 Local Zone. NetworkBorderGroup: When we use local zone, AWS will create 2 networkBorder Group (Region and Local Zone). It use by EIP / IPv6(now only available in LA at the point of writing this blog). If EIP is for Local Zone, select the NetworkBorderGroup for it.  There is it.

AWS Local Zones - Unable to launch EC2

Image
 Background: when tries to launch ec2, based on documentation(https://aws.amazon.com/about-aws/global-infrastructure/localzones/features/), you can select the availble EC2 instance type and also the EBS type as recomended by the documentation: Once you have selected those instance type as recomended by AWS documentation, you may encounter the below error (Please note the error messages): Resolution: 1. Instead of choosing the instance type and select directly, you need to click on "Compare instance type" link instead: 2. Show the "Availabiliy Zones" column by selecting the "gear" icon first: 3.  In the Searchbox, select "availability zones: <<Local Zone Name>> to find out which instances are available for us to use in the Local Zones (if you see the below pictures, we only have 4 types):  4. Once done, launch your instances with other configuration just like how you launch your normal ec2 and ensure to select the EBS types that is supporte

AWS - Local Zones

Image
What is Local Zones? a. It is an extention of availability zone to those country where AWS do not have region in. b. Design to get closer to customer hance, enhancing latency or/and data residency due to compliances. Setup: 1. Enable Local zones, first select the region you want to connect your local zone. In this example, my region is Singapore (ap-southeast-1) and therefore enable local zone in Thailand: a. https://ap-southeast-1.console.aws.amazon.com/ec2/home?region=ap-southeast-1#Settings:tab=zones b.  c. Create VPC in ap-southeast-1 d. create Subnet in Local Zones That it for quick start in AWS Local Zones.