Posts

How to Disable Root SSH Access on CentOS 7

Image
First, create an alternate user instead of using the default "root" useradd  doneill Second, set a password for this user passwd  doneill   Third, give sudo  permission for this user. For that go this file visudo Add permission to your user  like this. Here the user name is doneill Now check whether you can run the sudo  command with username as doneill   su doneill  sudo ls If things work good, continue Now prevent SSH login as root user. vi  /etc/ssh/sshd_config Search for "Permit" word to Now restart your ssh service by below command service sshd restart Thats  it. Now please check what you have done is working fine. Don't logout now, first make sure everything is working fine. type  ssh doneill@your systemip and give the password and check if the user login works fine.

AWS VPC Operations

Image

AWS RDS

Image
There is a maximum of 30 database per instance and 4 TB on each instance, so if your application depends on an architecture where you need to have 100 databases in the same instance then this is a showstopper for RDS.

Implementing SQL Server on Amazon RDS

Image
Difference between Database AS A Service(Dbaas) and Infrastructure As A Service(Iaas)

Docker on AWS - the Right Way

Image
Container Orchestration: Docker Swarm Kubernetes ECS ECS Cluster :  is a logical grouping of container instances. It can contain one or more container instances. Container instances : is nothing but an EC2 instance with three more things on it. ECS Agent is installed on the container instances Docker is also installed It should register to an ECS Cluster Service  — Defines long-running tasks of the same Task Definition. This can be one running container or multiple running containers all using the same Task Definition. A Scheduling logic that decides when containers should run. Tasks : A logical group of running containers running on an instance. ECS Task Definition:  Docker image for each Container CPU and Memory Requirements for each container Links between Containers Networking and Port Settings Data Storage Volumes Security (IAM) Roles ...

ECS

Image

Amazon Web Services Databases in Depth

Image
Amazon RDS