- Hands-On Cloud:Native Microservices with Jakarta EE
- Luigi Fugaro Mauro Vocale
- 234字
- 2021-07-02 13:47:12
Build, release, run
The fifth factor is related to the first, second, and the third factors. It's about how a piece of code gets built, is released (packed), and runs in the target execution environment.
The preceding steps are called stages and represent the life cycle of your application. Each stage has its own specific role and isn't related to any other stage, and all together, these stages form a deployment.
So, to perform a deployment, we need the following:
- We need to build our source code pulled from a repository by identifying the code and its version. This is done by fetching dependencies and compiling the code (the first and second factors).
- To release the previous build, by identifying it by its name and version, we need to attach the appropriate configuration settings (the third factor). Every release has its own unique version (date, incrementing numbers, code name, and so on).
- To run the released build into the execution environment, we need to launch a process that grabs the previous release, by identifying it through name and version.
These stages can and should be performed by tools provided by the cloud platform. Tools such as Jenkins and GitLab continuous integration (CI) are great for such tasks. More details can be found in Chapter 9, Deployments.
Long story short, what you build is what you release is what you run.
推薦閱讀
- 重新定義Spring Cloud實(shí)戰(zhàn)
- 物聯(lián)網(wǎng)信息安全
- Getting Started with WebRTC
- Learning Swift(Second Edition)
- 圖解手機(jī)元器件維修技巧
- 物聯(lián)網(wǎng)長(zhǎng)距離無線通信技術(shù)應(yīng)用與開發(fā)
- 2小時(shí)讀懂物聯(lián)網(wǎng)
- Learning Windows 8 Game Development
- 從實(shí)踐中學(xué)習(xí)手機(jī)抓包與數(shù)據(jù)分析
- 網(wǎng)絡(luò)綜合布線(第2版)
- AIoT應(yīng)用開發(fā)與實(shí)踐
- 異構(gòu)蜂窩網(wǎng)絡(luò)關(guān)鍵理論與技術(shù)
- 現(xiàn)場(chǎng)綜合化網(wǎng)絡(luò)運(yùn)營(yíng)與維護(hù):運(yùn)營(yíng)商數(shù)字化轉(zhuǎn)型技術(shù)與實(shí)踐
- 網(wǎng)絡(luò)基本通信約束下的系統(tǒng)性能極限分析與設(shè)計(jì)
- 萬物互聯(lián):物聯(lián)網(wǎng)核心技術(shù)與安全