Created by Trey Brown
over 7 years ago
|
||
Question | Answer |
Explain the following cf concepts: spaces, organizations, routes, services, domains, users, and quotas | Spaces Orgs Routes Services Domains Users Quotas |
How does one login to Cloud Foundry? | To login to cloud foundry, cf login -a api.run.pivotal.io To login to a local instance (PCFDev), cf login -a https://api.local.pcfdev.io --skip-ssl-validation |
What steps does cf go through with deploying an application? (Name the components involved) | upload, stage, start cf cmd line > CloudController > Blobstore > CCDB > DiegoCell (staging) > DiegoCell (running) |
What is the difference between public, private and hybrid clouds? | Public clouds are accessible via the web, private clouds run within an infrastructure that is inaccessible via the web. Hybrid clouds are made of two clouds, accessible via the web, which in turn make calls via messaging or multi datacenter replication over VPN Link. |
What infrastructure does Cloud Foundry run on? | Cloud Foundry is an infrastructure-agnostic PaaS solution that can be deployed on: - an IaaS - a virtualization platform - a local machine Hybrid and multi-cloud models are also possible with Cloud Foundry. |
What is BOSH and why is it useful? | BOSH is a general tool chain for deployment and lifecycle management of large scale distributed services. BOSH can be considered as a server or a robot which orchestrates the deployment process of a distributed system. There is a ruby tool which can interact with BOSH Command Line Interface (CLI). Before BOSH starts to deploy a system, it needs three prerequisites: a stemcell, a release (the software to be installed), and a deployment manifest. |
What is staging and what does it do? | The process by which an application gets deployed and started. A droplet is the result and what gets run inside a Diego cell |
What is the difference between restarting, restaging, and redeploying an application and how does each affect the services and environment variables to an application? | Restarting your application stops your application and restarts it with the already compiled droplet. Restaging your application stops your application and restages it, by compiling a new droplet and starting it. |
What are the 12 Factor Design patterns? | I. Codebase - 1 tracked in version control, many deploys II. Dependencies - Explicity declare and isolate dependencies III. Config - Store config in the environment IV. Backing Services - Treat backing services as attached resources V. Build, Release, Run - Strictly separate build and run stages VI. Processes - Execute the app as one or more stateless processes VII. Port Binding - Export services via port binding VIII. Concurrency - Scale out via the process model IX. Disposability - Maximize robustness with fast startup and graceful shutdown X. Dev/Prod Parity - Keep development, staging and production as similar as possible XI. Logs - Treat logs as event streams XII. Admin Processes - Run admin/management tasks as one-off processes |
Can one manage environment-variables manually? | Yes, by declaring them within the manifest.yml is one way |
What is the difference between restarting and restaging? | restart will stop application and start it with the existing droplet, restage will stop application and run the application through the process to create a new droplet. |
How do you deploy an application to Cloud Foundry? | cf push |
What are three activities involved in deploying an application to Cloud Foundry? | upload, stage, start |
What is services in Cloud Foundry? | Any type of add-on that can be provisioned along side your apps. |
What is organization in Cloud Foundry? | A development account that an individual or multiple collaborators can own and use. |
What is a space in Cloud Foundry? | A feature that provides users with access to a shared location for application development, deployment, and maintenance. |
What are the two predefined environment-variables available to any application? | VCAP_APPLICATION and VCAP_SERVICES |
How do you login to Cloud Foundry? | cf login |
What is routes in Cloud Foundry? | A feature that defines how to get to an application. |
What is meant by ephemeral? | Virtual machines and containers are temporary |
Want to create your own Flashcards for free with GoConqr? Learn more.