Application Deployment and Security Flashcards
Describe Deployment Environment
The development environment is where you do your coding, and in most cases it bears only a passing resemblance to the final environment — typically just enough for you to deal with fundamental aspects of your infrastructure, such as containers or cloud networking. You’ll likely use an IDE or other tool to make deployment easier.
Describe testing environment
An environment for testing the code with mock resources
Describe Staging environment
The stage where it should resemble the production environment
Describe Production environment
where end users interact with it. At this point it’s been tested multiple times, and should be error free. The production environment itself must be sized and constructed to handle expected traffic, including surges that might come seasonally or with a particular event.
Describe the Bare metal deployment model
Installing software directly onto the target computer
Describe the Virtual Machine Deployment model
Virtual computers within your computer where the host is the physical computer
Describe what a hypervisor is
software that creates and manages VMS
Describe container based infrastructure
a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another
Describe Serverless Computing deployment model
a cloud computing execution model in which the cloud provider allocates machine resources on demand, taking care of the servers on behalf of their customers
Describe On-premise infrastructure
any system thats literally within the confines of your building
Describe Private cloud
a system that provides self-service provisioning for compute resources, networking, and storage.
What does the cloud provide
self-service access to computing resources, such as virtual machines, containers, and even bare metal, which means that users can log into a dashboard or use the command line to spin up new resources themselves, rather than waiting for IT to resolve a ticket
What is the cloud referred to as
IaaS
Describe a Public Cloud
Cloud Infrastructure that is managed by a public cloud provider
Describe hybrid cloud
is the combination of two different types of clouds. Typically, hybrid cloud is used to bridge private cloud and public cloud within a single application.
What are some advantages of hybrid cloud
You can use the private aspect for security and the public for more resources
Describe edge cloud
the computational processing of sensor data away from the centralized nodes and close to the logical edge of the network, toward individual sources of data.
What is Docker
a format that wraps a number of different technologies to create what we know today as containers.
What is a namespace in Docker
isolate different parts of the running container. For example, the process itself is isolated in the pid (process ID) namespace, the filesystem is isolated in the mnt (mount) namespace, and networking is isolated in the net namespace.
What is a control group in Docker
cgroups, are a standard linux concept that enables the system to limit the resources, such as RAM or storage, used by an application.
What is a Union File System in Docker
UnionFS, are file systems that are built layer by layer, combining resources.
What are the steps for creating a container
Either create a new image using docker build or pull a copy of an existing image from a registry using docker pull. (Depending on the circumstances, this step is optional. See step 3.)
Run a container based on the image using docker run or docker container create.
The Docker daemon checks to see if it has a local copy of the image. If it does not, it pulls the image from the registry.
The Docker daemon creates a container based on the image and, if docker run was used, logs into it and executes the requested command.
In order to create a container-based deployment what do you need
Dockerfile
What is a Docker file
a text document that contains all the commands a user could call on the command line to assemble an image