August 31, 2019 Vignesh Sathiyanantham

In recent posts, we have discussed adding your AWS account to Nimesa to do the data protection. In this post, we will discuss application-consistent backups of your MySQL on EC2 instance. To know to install MySQL Server on Amazon Linux 2 on AWS Cloud click here Read here more about consistent, app-consistent, crash-consistent backup Nimesa supports pre and post script hooks to perform the specific operation before or after a backup, example if your Instance is running Oracle and you want to enable hot backup mode before performing backup you can write the script and upload to pre-script There is…

August 31, 2019 Vignesh Sathiyanantham

The default user for Amazon Linux 2 is ec2-user, first, we need to create a password for the ec2-user [ec2-user@ip-164 ]$ sudo passwd ec2-user Changing password for user ec2-user. New password: Retype new password: passwd: all authentication tokens updated successfully. Then enable the password authentication for the Login in the SSHD config file sudo nano /etc/ssh/sshd_config Find the PasswordAuthentication no and set it to yes Restart the SSHD Service sudo systemctl restart sshd

August 31, 2019 Vignesh Sathiyanantham

In this post, we will see how to install MySQL server on AWS EC2 Amazon Linux 2 and configure the security group to access from your desktop The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2). It is designed to provide a stable, secure, and high-performance execution environment for applications running on Amazon EC2. It supports the latest EC2 instance type features and includes packages that enable easy integration with AWS. Amazon Web Services provides ongoing security and maintenance updates to all instances running…

August 27, 2019 Vignesh Sathiyanantham

In my previous post, we discussed the creation of IAM user and the privilege required to protect your AWS EC2 instances. In this post, we will discuss to register the AWS account with Nimesa. Open the Nimesa web console ( refer this post for the Installation of Nimesa in your AWS account ), and log in with the credential. Then Go to “Configuration settings” > “manage platforms” In the manage platform, click on Add platform Enter the unique friendly account nameAccess Key of the IAM userSecret key Nimesa will validate the credentials, and save it in MySQL database after encrypting…

August 24, 2019 Vignesh Sathiyanantham

When I was writing the base code in Spring boot for my RESTifying the ZFS APIs project, I was looking for some way of throwing the exception to the user with HTTP error code. I found a way to handle it by using ResponseStatusExceptionResolver. ResponseStatusExceptionResolver is introduced with Spring 3, and Its main responsibility is to use the @ResponseStatus annotation available on custom exceptions and to map these exceptions to HTTP status codes. @ResponseStatus annotation I created a ValidationException class extending the RuntimeException class with a constructor. This is how my code looks like package in.asvignesh.zfsservice.controller; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus;…

August 24, 2019 Vignesh Sathiyanantham

I am working on a new hobby project RESTifying the ZFS APIs, Earlier I was using play framework for my REST projects, now started using SpringBoot While RESTifying the ZFS API one of the API formats is like @GetMapping(path = {“/”, “/{poolname}”, “/{poolname}/{volumename}”}, produces = “application/json”) / will give all the pool name and volumes, /poolname will give all the pool name and volumes of that particular pool, /poolname/”poolname/volumename” should give the pool and the volume. The volume name is in the format {poolname}/{volumename}, so I want to provide the slash with URL encoded but given restful method below gives…

August 21, 2019 Vignesh Sathiyanantham

In my previous post, I have explained how to deploy Nimesa cloud data protection software in your AWS account. In this post, will discuss on the permission required to protect EC2 Instance and RDS Instance. Then how to create an IAM account and get the access key. To perform the Backup, Restore, DR operation, utilization details an IAM user with the required permission and programmatic access is required. Creating the IAM user with permission is very simple. I have published the JSON file with the permissions required in my public GIST. You can directly use it https://gist.github.com/asvignesh/9cd266549ea1f969e165423db380c31a Create a policy,…

August 21, 2019 Vignesh Sathiyanantham

In the recent posts, I shared about taking backup and restore of database and also discussed some of the issues I have seen in the customer environment and how I fixed those in Nimesa Software Nimesa uses cloud-native / storage native snapshot technology to provide the backup, backup copy to DR site, restore on primary, restore on secondary, power and cost management everything in a single Software suite for both public cloud and the private cloud. Currently, Nimesa is available as a community AMI in the Amazon marketplace. The AWS Marketplace is a curated digital catalog that makes it easy…

August 21, 2019 Vignesh Sathiyanantham

Recovery Point Objective (RPO) and Recovery Time Objective (RTO) are two of the most important parameters of the disaster recovery (DR) or data protection planning. These are the objectives/decision points for choosing the optimal backup software. Recovery Point Objective (RPO) Recovery Point Objective (RPO) describes up to what point in time could the business-critical data can be recovered in other words the last point where the data is in a usable format If you back up all or most of your data in regularly scheduled 24-hour increments, then in the worst-case scenario you will lose 24 hours’ worth of data….

August 21, 2019 Vignesh Sathiyanantham

Who uses MongoDB? Based on the online resource* there are 37,658 Companies using MongoDB, MongoDB is most often used by companies with 10-50 employees and 1M-10M dollars in revenue, and the market share is about 5.0% and also many financial services using the MongoDB Data is always critical whether its RDBMS or NoSQL or Flat files AWS EBS Volume Snapshot is block-level incremental snapshots, which is one of the best and efficient way to protect the Data in the EC2 environment, you might have read lots of posts, whitepapers about advantages of using the snapshot technology. But the Snapshots of…