Posts

Showing posts from June 5, 2017

Configuration using Ansible

Configure Apache Web Server(http) create file:  #vim http.yml & write the code   --- - hosts: apache   remote_user: root   vars:     http_port: 80     max_client: 300   tasks:   - name: installing apache web server(httpd)     yum:       name: httpd       state: latest - name: starting apache web server service     service:       name: httpd       state: started       enabled: yes  - name: disable selinux    lineinfile: dest=/etc/selinux/config                regexp='^SELINUX='                line='SELINUX=disabled'                state=present  - name: disable iptables    lineinfile: dest=/etc/rc.local                regexp=''                line='iptables -F'                state=present ###################### Deploy Web Application --- - hosts: apache   remote_user: root   vars:     http_port: 80     max_client: 300   tasks:   - name: copying application files     copy:       src: /var/www/cloud/adhoc.tar       dest: /var/

Ansible

Ansible is an open source automation engine that automates software provisioning, configuration management, and application deployment. DEPLOY APPS.   MANAGE SYSTEMS.   CRUSH COMPLEXITY. Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. ANSIBLE OPEN SOURCE  SIMPLE. POWERFUL. AGENTLESS. App deployment, configuration management and orchestration - all from one system. Ansible is powerful automation that you can learn quickly. As with most configuration management software, Ansible has two types of servers: controlling machines and nodes. First, there is a single controlling machine which is where orchestration begins. Nodes are managed by a controlling machine over SSH. The controlling machine describes the location of nodes through its inventory. To orchestrate nodes, Ansible deploys modules to nodes over SSH. Modules are temporarily stored in the nodes and communicate with the controllin

Amazon Web Services(AWS)

Amazon Simple Storage Service(S3) What is an Amazon S3 bucket? Amazon S3 is a cloud based web service interface that you can used to store and retrieve any amount of data. To upload your data, first you need to create an S3 bucket in one of the Amazon regions. Creating a Bucket S3 provides an API for creating and managing buckets. You can create a maximum of 100 buckets from your AWS console. When you create a bucket, you need to provide a name and AWS region where you want to create the bucket. In each bucket, you can store any number of objects. You can use your AWS account root credentials to create a bucket, but it is not recommended. Instead  just create an IAM user and add full permission to that user on S3 bucket. You can access your S3 bucket from your Amazon S3 console. Please follow the below steps to mount s3 bucket on your server. Steps to Mount Amazon S3 bucket in CentOS/Red Hat ############################################ Remove Existing Packages Before