Monday, August 30, 2021

AWS important

AWS service you know or worked.

 

Route53 

 


Route53
(register new domain,
transfer existing domains,
route traffic for your domains to your AWS and external resources,
and monitor the health of your resources)

DNS Management
Traffic Managment
Availablity monitoring
Domain registration


DNS Manage- If you already have a domain name, such as example.com, Route 53 can tell the DNS where on the internet to find web servers, mail servers, and other resources for your domain.

Panel
Dashboard
Hosted Zones    -  Create Hosted zone
Health checks  

Create Hosted zone
Domain Name    technicalhub.com
comment       
Type        public

create         after create

4 name server    TTL
ns-xxxxx.org    172800/365 day    NS
ns-xxxxx.com
ns-xxxx.net
ns-xxxx.co.uk

nxxxxxx        SOA

never change both record above


Now need to create Record set

Where you mention your server website address, routing

Name     www.technical.com or blank technical.com
Type: A- IPv4 address

Alias Yes/No        here you publish through S3 website endpoint(target define), load-balancer

Routing Policy:
Simple/
Weighted(need to create 2 record set -70/30)/
Latency-(select server region- us-centeral-a1)/
Failover(create health check like you have 2 server, create 2 health check - and in routhing select primary/secondary)/
Geolocation - (define by Geo- Like asia traffic on particaluar server)/
Multivalue Answer

Evaluate Target Helath  Yes/NO            its mandate on failover

TTL

Value:     Public Ip

  • Address Mapping record (A Record)—also known as a DNS host record, stores a hostname and its corresponding IPv4 address.
  •  
  • IP Version 6 Address record (AAAA Record)—stores a hostname and its corresponding IPv6 address.
  • Canonical Name record (CNAME Record)—can be used to alias a hostname to another hostname. When a DNS client requests a record that contains a CNAME, which points to another hostname, the DNS resolution process is repeated with the new hostname.
  •  
  • Mail exchanger record (MX Record)—specifies an SMTP email server for the domain, used to route outgoing emails to an email server.
  •  
  • Name Server records (NS Record)—specifies that a DNS Zone, such as “example.com” is delegated to a specific Authoritative Name Server, and provides the address of the name server.
  •  
  • Reverse-lookup Pointer records (PTR Record)—allows a DNS resolver to provide an IP address and receive a hostname (reverse DNS lookup).
  •  
  • Certificate record (CERT Record)—stores encryption certificates—PKIX, SPKI, PGP, and so on.
  •  
  • Service Location (SRV Record)—a service location record, like MX but for other communication protocols. 
  •  
  • Text Record (TXT Record)—typically carries machine-readable data such as opportunistic encryption, sender policy framework, DKIM, DMARC, etc.
  •  
  • Start of Authority (SOA Record)—this record appears at the beginning of a DNS zone file, and indicates the Authoritative Name Server for the current DNS zone, contact details for the domain administrator, domain serial number, and information on how frequently DNS information for this zone should be refreshed.





Traffic Policies- if you want to explain to your team about traffic flow


 

S3 - versioning

Buckets

create Bucket - access - bucket versioning - enable -

newbucket    bucket created

Upload file - update 2-3 times - Grant public read access

sample.code    click on sample code it will open in another window

check version - click on bucket - version - current /pervious null

You can delete previous version, cant delete current ver.



Amazon SNS

Simple notification service

Create Topic

Access policy - Define who can publich (topic owner, Everyone, Only specfic AWS a/c)
        Define Who can subscribe

Delivery retry policy

Done



create subscription
HTTP/Https/Email/Email-JSON/Amazon SQS/AWS Lambda/SMS/Platform application endpoint

Email - techincal99@gmail.com


It will trigger the Email to your email id about your subscription

Done

Publish message -

Subject

Message body

Mobile

Publish notification


EBS Volume Types Table


Volume Type

General Purpose SSD (gp2)

Provisioned IOPS SSD (io1)

Throughput Optimized HDD (st1)

Cold HDD (sc1)

Uses

General purpose SSD volume that balances performance and price; used for low-latency app, dev and test environments

Highest-performance SSD volume, designed for mission-critical, low-latency, or high-throughput applications; used for large databases, and critical business applications

Low-cost HDD volume designed for throughput-intensive workloads; used for log processing, data warehouses, and streaming workloads

Lowest cost HDD volume designed for infrequently accessed data; used as a cheap storage solution

Volume Size

1GiB—16TiB

4GiB—16TiB

500GiB—16TiB

500GiB—16TiB

Max Throughput per Volume

250MiB/s

1000MiB/s

500MiB/s

250MiB/s

Max IOPS per Volume

16000

64000

500

250

Cost

$0.1 per GB

$0.125 per GB + $0.065 per IOPS

$0.045 per GB

$0.025 per GB

 boot               can boot              can boot              cant boot volm   cant boot volm
    

 



 

SQS - simple Queue service.

Amazon Simple Queue Service is a reliable, scalable, fully-managed message queuing service.

Create Queue

Standard Queue - Unlimited throughput - support a nearly unlimitd num of trans/per sec.
At least once delvr

FIFO Queue - FIFO queue support up to 300 msg per sec send/receive/delete operation.
First-in-1st-out

provide visiblity other config/delvr delay etc

Dead letter queue- if unsuccess, check reason and attempt define

Done

create msg body - send receive msg











No comments:

Post a Comment