Posts

network interface does not come up automatically after reboot

Image
  Some times it happens server network interface doesn't come up automatically after remote or hard reboot. In this case you need to check few things on the server whether all these things are configured properly. 1) Check firewall rules if you are managing any firewall rules manually otherwise it should be inactive mode. 2) Check LAN port it should be set on automatically connection mode. 3) Enable network manager- systemctl enable NetworkManager 3) Network-Scripts (Check ONBOOT -Please set   YES if it is not set already ) GOTO- /etc/sysconfig/network-scripts/

AWS S3 Cross region Replication

Image
  AWS S3 support cross region replication.It means data can be replicated automatically across regions. Let's see when to use cross region replication- Minimize latency Meet compliance requirements Maintain object copies under different ownership Increase operational efficiency Few things keep in mind for Cross region replication- Need two Buckets Enabled versioning on both the buckets Create replication Policy Choose IAM role Choose source and destination bucket One more thing if you have any object in your source bucket before implementing replication policy those objects will not be replicated. You will have to move all these objects manually with the help of AWS cli. Watch this video for replication process !

How to configure static website in AWS S3

Image
Welcome back- In this video you will see "How to configure static website by using AWS S3 service" I am sharing 2 files for checking it.One is .html and second one for allowing bucket policy to object. File 1 - html code <!DOCTYPE html> <html> <body> <h1>Hello, TechAdda Cloudy!</h1> <p>How are you doing?</p> </body> </html> File 2- Policy code (Allow Bucket ) {   "Version": "2012-10-17",   "Statement": [     {       "Sid": "PublicReadGetObject",       "Effect": "Allow",       "Principal": {         "AWS": "*"       },       "Action": "s3:GetObject",       "Resource": "arn:aws:s3:::www.techaddacloudy.com/*"     }   ] }  

How to enable Versioning in AWS S3

Image
  AWS S3 Versioning-  Versioning is a means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket. With versioning, you can easily recover from both unintended user actions and application failures. When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all of the objects. If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID for the object being stored. In one bucket, for example, you can have two objects with the same key, but different version IDs, such as  photo.gif  (version 111111) and  photo.gif  (version 121212). Versioning-enabled buckets enable you to recover objects from accidental deletion or overwrite. For example: If you delete an object, instead of removing it permanently, Amazon S3 inserts a delete marker, which becomes the curr

How to upload PDF file in Blogger (Google)

Image
दोस्तो, Kahi baar dekha gya hai ki jab bhi hum koi post likhate hai ya kisi topic k upar kuch details put karte hai hamai file upload karne ki jarurat hota hai.Es video mai ek pdf file ko upload kar k dikhaya. Video Link

AWS S3 (Simple Storage Service)

Image
You can also watch this  Video for more details.

Ubuntu web Server Load balancing through AWS ELB

Image
Hello Dosto, We will see about AWS ELB which is very popular while distributing load between multiple servers. There are 4 types of load balancers in AWS-  Application Load Balancer  Network Load Balancer  Gateway Load Balancer  Classic Load Balancer  Benefits of ELB- Highly availability and elasticity Security Feature breadth Robust monitoring & visibility Integration and global reach Let's look into the use cases- Migrating to AWS Modernizing applications with serverless and containers Building a hybrid cloud Scaling third-party virtual appliances Now Lets see How to configure AWS Load Balancer with 2 Ubuntu Web Servers.You can watch below video for getting idea "how to configure"  AWS ELB After watch above Video lets start for New Demo with Ubuntu Servers. Prerequisites-  2 EC2 instances with Ubuntu Server SSH access and port HTTP port opened from Security Group Install Apache Server on each instance Move default index.html in .bk file and create new index.html wit