Showing posts with label Container. Show all posts
Showing posts with label Container. Show all posts

Monday, 1 June 2020

Container health checks and load balancer views in Spinnaker v1.20 features are introduced by Amazon ECS

Amazon ECS (Elastic Container Service) is an entirely organized container orchestration service. Further, ECS can easily merge with other AWS services to involve new potentials to ECS. Now Amazon Elastic Container Service (ECS) introduced assistance for container health checks and a new user interface for load balancers in Spinnaker v1.20. And you can utilize container health checks via a Spinnaker deployment pipeline which is merged with ECS services. You can also outlook and sort load balancers for ECS services in Spinnaker itself to see load balancers and the deployment pipeline for your ECS services in the same tool. ECS containerized applications deployed using a Spinnaker deployment pipeline can now utilize container health checks to control whether containers are set to receive requests. Earlier, container health checks could be configured in Spinnaker, but were not estimated through ECS deployments. Now deployments to ECS services will hold for any configured container health checks to finish before get going. Further, you can outlook the load balancers, listeners, and target groups related with ECS services inside the Load Balancer Infrastructure tab. This allows you outlook and sort load balancers in use by ECS services in Spinnaker itself, rather than AWS Management Console. Visit the Spinnaker release notes to learn more about the release. To set up the Spinnaker pipeline with ECS, visit the Spinnaker documentation. To learn more about the container health checks, visit the ECS documentation .

Monday, 20 April 2020

How to install cPanel on CentOS

Introduction:- cPanel is a very simple and easy online based control panel to manage your hosting services. The best thing is that non-technical people can also handle all aspects of their web site without any technical skill. With the cPanel you can manage all the important aspects like upload files to your server, install wordpress, connect domain name to your hosting, checking your bandwidth and other usage stats, taking backup of your web sites, setup e-mails for your site, Set up various optimizations and a lot more !!

Quick Tip: You can run this installation on a Cloud Instance or a Virtual Private Server or Dedicated server, and even on a Container such as Docker!

Let's Start:
Login to server as root (SSH).
cPanel is programmed in Perl language. So before starting the installation we need to install Perl if it isn't installed on the server.

yum users should run the following command:

#yum install -y perl

Now you need to set the hostname for your server. Using hostname you can identify your computer in the network. To change your hostname run the following command

#hostname vps.mydomain.com

You can replace vps.mydomain.com with your hostname. You must have to purchase the domain which your are setting up the hostname.

Next, step is you will need to change your current directory to /home directory, run the following command to do this.

#cd /home

It’s time to download the installation script from cPanel official website.

#curl -o latest -L https://securedownloads.cpanel.net/latest

Now, run the below execution script and install the cPanel.

#sh latest

This command will start your cPanel installation, you need to wait around half and hour and can now sit back and relax as the installation takes around half hour to complete. Once the installation script is finished you will see the following type of output:

--------------------------------------------------------------------------------------------------------------------------------

[2020-04-14 10:04:57 +0000] [9869] ( INFO): cPanel install finished in 5 minutes and 35 seconds!

[2020-04-14 10:04:57 +0000] [9869] ( INFO): Congratulations! Your installation of cPanel & WHM 11.86 is now complete. The next step is to configure your server.

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): Before you configure your server, ensure that your firewall allows access on port 2087.

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): After ensuring that your firewall allows access on port 2087, you can configure your server.

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): 1. Open your preferred browser

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): 2. Navigate to the following url using the address bar and enter this one-time autologin url:

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): https://13.127.207.50:2087/cpsess0353546322/login/?session=root%3aroyqyQSyp90CRSSv%3acreate_user_session%2c08904fd92d0fea5549ca256a84ac2b18

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): After the login url expires you generate a new one using the 'whmlogin' command or manually login at:

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): https://13.127.207.50:2087

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): Visit https://go.cpanel.net/whminit for more information about first-time configuration of your server.

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): Visit http://support.cpanel.net or https://go.cpanel.net/allfaq for additional support

[2020-04-14 10:04:57 +0000] [9869] ( INFO):

[2020-04-14 10:04:57 +0000] [9869] ( INFO): Thank you for installing cPanel & WHM 11.86!

Removing /root/installer.lock.

--------------------------------------------------------------------------------------------------------------------------------

Congratulations !!

Your cPanel installation is completed and now, you can now open your browser and go to https://your-server-ip:2086 to access cPanel. Login with username root and your root account's password. For example if your IP is 192.168.1.82 then you will have to go to

https://192.168.1.82:2086

Note:-

Once cPanel is installed you can not be uninstall it from server as it does not have any uninstaller. To uninstall you need to reinstall your operating system. cPanel is commercial software and offers a 15 day trial period. Once cPanel is installed on server it is automatically activated.

Thursday, 8 August 2019

AWS Fargate Obtainable in Asia Pacific (Hong Kong) Region

AWS Fargate is Amazon ECS compute engine which enables you to execute containers excluding the need to control servers or clusters. You do not have to provision, configure, and scale clusters of virtual machines to execute containers with AWS Fargate. This erase the necessity to select server types, determine when to scale your clusters, or optimize cluster packing. Also AWS Fargate discards the requirement for you to connect with or think about servers or clusters. AWS Fargate allows you concentrate on planning and creating your applications rather than handling the infrastructure which executes them. AWS Fargate smoothly integrates with Amazon ECS. You only describe your application like you do for Amazon ECS. Now this AWS Fargate is accessible in Hong Kong AWS Region of Asia Pacific. There are no upfront charges for AWS Fargate, you only charge for the resources which you utilize. To know the pricing details of AWS Fargate, refer Pricing Details. And to get the complete list of AWS Region wherer AWS Fargate is accessible, refer Region table.

Friday, 12 July 2019

Fluent Bit Plugins for AWS Introduced By Amazon ECS

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container orchestration service which helps Docker containers and permits you to directly execute and scale containerized applications on AWS. Amazon ECS removes the necessity for you to install and run your personal container orchestration software, manage and scale a cluster of virtual machines, or schedule containers on those virtual machines. AWS Container Services introduces AWS Fluent Bit, a container image pre-installed with Amazon CloudWatch and Amazon Kinesis Data Firehose plugins which guides users route container logs to several targets like CloudWatch, Amazon S3, Amazon Redshift, and Amazon Elasticsearch Service. Fluent Bit is an open source and multi-platform Log Processor and Forwarder that enables you to gather data and logs from multiple sources, merge and transfer them to different places. It's completely compatible with Docker and Kubernetes environments. With the help of recently introduced AWS Fluent Bit image, you can send container logs to the range of services for logs storage and analytics at AWS. The blog about how to use the Fluent Bit image on both Amazon ECS and Amazon EKS will help you to learn further.

Reduce Amazon Bedrock costs by 50% using Intelligent Prompt Routing

The problem: premium models are quietly draining your AWS budget Here's a pattern that shows up in almost every Bedrock account we look ...