Nowadays Google Drive is the most commonly used service to store our files as a cloud. Here in this article, it explains how to backup directories to Google Drive using bash script and API. 1. Install Google Drive on the server Use the following link to download Google Drive: https://drive.google.com/open?id=1P2J2HObqDtIjB07yvotE4mzml4tjC4ot 2. Then move this file to “/usr/sbin/” folder. 3. Assign the correct permission to the file. 4. Now run the file “drive”. You will get a link like this asking for a verification code. Go to the following link in …
Python
Python is a high-level general-purpose programming language, which is Interpreted, Interactive and Object-Oriented. The term object-oriented means it supports object-oriented programming approach to develop applications. Python file is saved as a .py extension. Python’s initial development was led by Guido van Rossum in the late 1980s. (more…)
Capistrano is a remote server automation open-source tool written in Ruby that gives a set of advanced tools to deploy web applications to the servers. To perform the deploy functions Capistrano does not require any big set of additional applications; it just requires an ssh connection with a new user who has the permission to copy the code from the source control repository to the server and Ruby Gems, the package manager for the Ruby programming language.
Amazon Lightsail is a simplified cloud service from Amazon Web Services (AWS) designed for users who want an easy-to-manage virtual private server (VPS) without the complexity of full AWS configurations. It bundles compute power, memory, storage, and data transfer into predictable monthly plans, making it ideal for beginners, startups, and small businesses. What is Amazon Lightsail? If you’re wondering what is Amazon Lightsail, it is a lightweight VPS hosting service built on top of Amazon EC2 infrastructure. While it derives compute power from EC2 instances, AWS repackages it into simplified …
AWS Cloudwatch
AWS Cloudwatch is an AWS monitoring tool that will help us to monitor the cloud resources. Also, it gives a detailed report for the cloud resource usage. Amazon CloudWatch has an open application programming interface (API) support with customized reports, notifications, and alarms. In Amazon CloudWatch, there is no up-front commitment or minimum fee. It will be charged at the end of the month for what we use. Using cloudwatch, we can track the below metrics. AWS also provides access application logs and it allows to create alarms when the metrics reach …
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances and on-premises instances. It helps us to deploy application content such as code, serverless AWS Lambda functions, web and configuration files, packages, scripts, multimedia files, and more. After deploying the application content on a server it is stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. It works with various systems for configuration management, source control, continuous integration, continuous delivery, and continuous deployment. With AWS CodeDeploy, the following processes become easier. Rapidly …
AWS Server Migration Service (SMS) helps migrate VMware workloads to AWS. It minimizes downtime, uses agentless replication, supports incremental sync, and allows application testing before cutover. This AWS Server migration facilities provide simple services to migrate large-scale data from our on premises. AWS Migration Hub provides an individual location to track the growth of application migrations across multiple AWS and partner solutions. This allows choosing the AWS and partner migration tools that are suitable for the process. It also provides visibility into the status of migrations across the portfolio of …
Logstash is a powerful log collection and event processing engine used for collecting, parsing, transforming, and forwarding logs and event data from multiple sources. It is one of the core components of the Elastic Stack and is widely used for centralized logging, monitoring, and data processing. Logstash helps organizations manage large amounts of log data efficiently by collecting logs from different systems, processing them into a structured format, and forwarding them to storage or analysis platforms. What is Logstash? Logstash is an open-source data processing pipeline that collects data from …
VPC enables us to launch Amazon services to a Virtual network. This virtual network is owned by its own data centers with the benefits of using AWS services. In each account by default, VPC is already configured. The default VPC is used for testing purposes. The custom VPC is used for more secure network defined in the private subnet. The instances created in default VPC can’t communicate by default. Hardware VPN connection is used for connecting instance to the data center. (more…)
Configure Backups to S3
1. Servers having a cPanel control panel ————————————- In the WHM console, click Backup Configuration, and scroll to the bottom looking for additional destinations. Select Amazon S3 in the Destination Type and Create a new destination. In the configuration page for this destination, give it a name and select the box that says transfer system backups to destination. (It says you should only do this if your connection is encrypted. Amazon S3 is an encrypted connection.) Enter the name of the bucket, Access Key ID, and Secret Access Key. (more…)