Advanced Search
Search Results
195 total results found
More EC2 Topics
Private vs Public vs Elastic IP Networking have two types of internet process address. IPv4, IPv6. A public IP address allows internet to reach the host using internet. They are unique on the internet. A private network has its own set of private IP address...
EC2 Instance Storage
EBS Volume Elastic block store volume is a network drive that you can attach to your EC2 instance while they run. It is a volume which means you have to provision the capacity first, define how many GB of EBS storage you want in advance and IO/S. It is stora...
High Availability and Scalability: ELB & ASG
Scalability There are two type of scalability, vertical scalability and horizontal scalability. Vertical scalability/scalable It means that you are increasing the size of the instance on a more persistent level to meet workload growth. For example, if you ...
AWS RDS, Aurora, ElastiCache
AWS RDS Relational database service. It is a managed database service and provide you with databases that uses SQL as the query language and AWS manages it for you. Database that you can create is Postgres, MySQL, MariaDB, Oracle, Microsoft SQL Server, and A...
Route 53
Domain name system It is a lookup server that help you translate domain names to IP addresses. It is the backbone of the internet. It uses hierarchical naming structure, start from the root DNS server which contain information about Top Level Domains, which ...
Classic Solutions Architecture Discussion
Solution architecture How do you use all these components to make them all work together into one architecture. We will study solution architecture and how to come up with them via case studies. WhatsTheTime.com Let people know what time it is. We don't ne...
S3 Buckets
S3 Advertised as infinitely scaling storage. Many AWS services also use S3 as part of its service. You can use S3 for: Backup Storage Disaster recovery Archive Static website Software delivery Data lakes and big data analytics The objects are sto...
Virtualization vs Containers
Virtualization and virtual machines Virtualization is the process where a software called hypervisor (which sits on top of your native operating system) allows other operating systems to run on top of your native operating system. The hypervisor creates virt...
S3 Bucket Security
S3 encryption There are four flavors. You can also set up a bucket policy to only allow files that are encrypted by one of the following server sided encryption. You would provide that in the S3 bucket JSON policy list. For example: You can specify to only a...
CloudFront & Global Accelerator
AWS CloudFront Content delivery network, they cache content at different locations world-wide that are closer to the user to improve read performance. CloudFront has DDos protection since it the network is world wide and have integration with shield. Origin...
Caching vs CDN
Cache(ElastiCache) Again caching is storing data that are frequently accessed into RAM so that they can be retrieved more quickly than going through a disk / a database query which takes significantly more time on CPU scale. CDN Content delivery network is ...
Why does my container immediately exits?
Containers are not like virtual machines Each docker contain have a main process that is run via CMD / ENTRYPOINT command in the Dockerfile. Once those processes finishes and exit then the container will stop and exit as well! It will not run indefinitely. I...
exec form vs shell form
Command forms RUN, ENTRYPOINT, and CMD are all directives to run a command in your Dockerfile. All three takes two forms of command, shell form and exec form. 1. Shell formThe commands are written without the [] brackets and are run by the container's shell ...
docker stop vs docker kill
Docker stop This provides a graceful way of exiting the container. it will sent a SIGTERM to the main process (PID 1), then after a grace period of 10 seconds if the main process still doesn't exit it will sent a SIGKILL to forcefully kill the main process. ...
RUN, CMD, ENTRYPOINT Directives
RUN The RUN directive is executed in a new layer, what does it mean? It is used to install packages and applications on top of an existing image layer and create a new layer on top of it. Docker images are used to build new ones and the RUN directive allows y...
More Storage Options
SnowFamily These are secure, portable devices that allows you to college and process data at edge location, AND migrate data in and out of AWS. Two use cases. It is used to perform offline data migration since if you are going to transfer data using the netw...
SQS, SNS, Kinesis, Active MQ
Decoupling mechanism When we deploy multiple applications they will inevitably need to communicate. There is two ways of doing the application. Synchronous communication: Direct connection for direct communication between application Asynchronous / event ...
ECS, Fargate, ECR, & EKS
Amazon ECS Elastic container service. It is Amazon's own container platform. Let you launch container instance and run them. If you want to launch docker container on AWS you will be launching ECS Tasks. Task definition tells what docker image to use to run ...
Serverless, Lambdas, DynamoDB, Cognito, API Gateway
Lambda function Why is serverless good? Well if you are using EC2 instances then you have to provision them if you need more compute power. You will be paying for those servers that are continuously running. It has limited RAM and CPU. Lambda function you do...
Serverless Architecture Discussion
MyTodoList We want to make a mobile todo with REST API with HTTPS using serverless architecture. User should be able to interact with their own folder in S3. Users can write and read to-dos, but mostly read them. Database should scale and have high read throu...