官术网_书友最值得收藏!

Working with the infrastructure deployment code

While dealing with infrastructure as code, the code that abstracts, models, and builds the OpenStack infrastructure must be committed to source code management. This is required for tracking changes in our automation code and reproducible of results. Eventually, we must reach a point where we shift our OpenStack infrastructure from a code base to a deployed system while following the latest software development best practices.

At this stage, you should be aware of the quality of your OpenStack infrastructure deployment, which roughly depends on the quality of the code that describes it.

It is important to highlight a critical point that you should keep in mind during all deployment stages: Automated systems are not able to understand human error. You'll have to go through an ensemble of phases and cycles using agile methodologies to end up with a release that is largely bug free and then promoted to the production environment.

On the other hand, if mistakes cannot be totally eradicated, you should plan for the continuous development and testing of code. The code's life cycle management is shown in the following figure:

Changes can be scary! To handle changes, it is recommended that you do the following:

  • Keep track of and monitor the changes at every stage
  • Build flexibility into the code and make it easy to change
  • Refactor the code when it becomes difficult to manage
  • Test, test, and retest your code

Keep checking every point that has been described previously till you start to get more confident that your OpenStack infrastructure is being managed by code that won't break. By treating the infrastructure as code, operators will be able to overcome the challenges presented by any dynamic infrastructure. Systems can be redeployed at ease by ensuring the consistency throughout the entire fleet of servers or the same infrastructure elements. Bear in mind that system design also keeps changing as new package release comes to an update with different configuration requirements. A streamlined change management process will facilitate to deliver an anti-fragile infrastructure that can be changed safely with minimum degree of complexity.

主站蜘蛛池模板: 九龙城区| 启东市| 克山县| 舞阳县| 布尔津县| 上饶市| 花莲县| 开封市| 汽车| 六盘水市| 阳城县| 鹿邑县| 都兰县| 永福县| 谷城县| 霍邱县| 阳新县| 宜兰市| 闻喜县| 塘沽区| 莱芜市| 集贤县| 延安市| 文昌市| 麻城市| 邯郸县| 万盛区| 邹城市| 太谷县| 水富县| 新建县| 互助| 天峨县| 五大连池市| 唐山市| 博爱县| 南投县| 义马市| 仪陇县| 安新县| 分宜县|