aws and linux interview questions
1).setup the ec2 ,vpc,subnet,route table ,interent gateway ,nat gateway ,jumb host
First we should create the network flow for giving architecure:
first we need to create the vpc:
go to vpc:
choose name for the vpc:
choose the ipv4 cider bloc
choose the ipv6 cider block
give ipv4 cider block ip address
tendancy
create dag
then create for the vpc
next we need to create the two subnets
one is public and private subnets
subnets cidr block range is ends with
/24
which means 256 ipaddress are avilble into subnets
For next we need to carete the interent gateway and attach
to the vpc:
using this inetrnet gateway we can establish the network
connectivity between the vpc and inetrent
this inetrent gatway is attached to the public subnets
next we need to create the two route tables
next subnets also associated with two route tables
route tables is used to establish the netwrok connectivoy
between the subnets with the help of interent gateway
next we need to add the two subnets into two route tables
one public subnets is needed to add the public route tables and added the route of igw
one private subnets is needed to add the private routes
tables and added the route of natgatway
next we have to create the natgatway
Nat gateway - one way communications(one way route ware)
internet gateway - two way communications(two way route ware)
natgatway is cost .but its not free.
wherever we need it we can craete it or else we can delete it
next we need to craete the two ec2 servers
one server is created for public subnets
next ec2 servers is created for private subnets
if you want to get the local ipaddress:
go and search the ipinfo website
Linux interview questions:
1).what is the use of systemd in linux os ?
what services should be started or what services should be stopped at the
particular time of booting process.
that's called it as the systemd in linux os
/etc/systemd/system
2).what is the configuration file of systemctl in linux os ?
/etc/systemd/system/configurations
3).what is the virtual host in apache in linux os ?
we can host multiple website into the single machine
that's what we can use the virtual host into apache
4).what are the server's are available into apache in linux os ?
http server in apache
5).how many webservers are available into apache?
ap per user traffic we can mention it webservers
apache, iis , tomcat and WebLogic and ngnix
Comments
Post a Comment