Devops Note
Devops Note
which everything related to the cloud is built. IAAS usually a computing resource
in a virtualized environment.
offers a combination of processing power, memory, storage, and network. most common
IAAS entities are Virtual Machine (VM) and network equipment such as load balancers
or virtual ethernet interface,
storage, and many more. IAAS is very close to the hardware, and offer the full
flexibility that you would get when deploying your software outside of a cloud.
PAAS (Platform as a Service) is where things start to get really interesting tih
the cloud. when building application need a certain number of common components
such as data store and queue.
PAAS layers provides a number of ready-to-use applications, to help build your own
services without worrying about administrating and operating third-party services
such as database server.
SAAS (Software as a Service) this layers is the icing on the cake. similar to the
PAAS layer, you get access to managed services, but this time, these services are a
complete solution dedicated to
certain purposes, such as management or monitoring tools.
===========================================================
Traditional Waterfall Model
Product Team > Design Team > Developers > QA > Release Team
> Tech Ops Team
Specifications UI / UX Implementation Testing Build Final
Release Deploy, Monitor
1. What is DevOps?
is a framework and a methodology concerned with adoptiong the right culture
for dev and ops team to work together.
3. How do you create your first AWS cloud instance using the AWS CLI utility?
before launch instance, we need to provide about image id, instance type,
security group, ssh key pair. then
aws ec2 run-instances --instance-type t2.micro --key-name arediekey
--security-group-ids sg-123456 image-id ami-0ba35dc9caf73d1c7
4. How do you deploy a simple Hello World web application on your newly created AWS
instance?
install nodejs
sudo yum install --enablerepo=epel -y nodejs
create js file, helloworld.js
run with node helloworld.js
or we can create daemon, sudo vi /etc/init/helloworld.conf
tehn start the command, sudo start helloworld
to stop, sudo stop helloworld
5. How do you destroy your created AWS instance to complete this exercise?
aws ec2 terminate-instances --instance-ids i-04126640039f0d828