Search


Guidance on Secure Containers and Microservices

(Français)

Microservices are established when a set of functional components work together to compose an application. While this approach improves flexibility and scalability for application development and simplifies functionality, it adds another layer of abstraction that must be secured.

Container technology (OS virtualization) enables software to be deployed quickly and run predictably when moved from one environment to another. In modern deployments, containers are often orchestrated by a container orchestration tool, such as Kubernetes (K8s) or a cloud provider, to manage the lifecycle of the containers.

Microservices are often deployed in containers to take advantage of the benefits of both technologies.

This guidance provides recommendations to secure containers and microservices when deploying Government of Canada (GC) services. It highlights the controls, configuration and tools to secure GC workloads running in containers and orchestrators and recommendations for compliance verification.

Table of Contents

List of Figures

List of Abbreviations and Acronyms

Abbreviation Definition
CaaS Containers as a service
CSP Cloud Service Provider
FaaS Functions as a service
GC Government of Canada
IaaS Infrastructure as a Service
IaC Infrastructure as code
IDS Intrusion Detection System
IT Information Technology
JSON JavaScript Object Notation
JWT JSON Web Tokens
K8s Kubernetes
MSA Microservices Architecture
mTLS Mutual Transport Layer Security
NIST National Institute of Standard and Technology
OAuth Open Authentication
OS Operating system
PaaS Platform as a Service
PBMM Protected B, Medium Integrity, Medium Availability
RBAC Role-base Access Control
SaaS Software as a Service
SSH Secure Shell
TBS Treasury Board of Canada Secretariat
TLS Transport Layer Security
VM Virtual Machine

How to Contribute

See CONTRIBUTING.md

License

Unless otherwise noted, the source code of this project is covered under Crown Copyright, Government of Canada, and is distributed under the MIT License.

The Canada wordmark and related graphics associated with this distribution are protected under trademark law and copyright law. No permission is granted to use them outside the parameters of the Government of Canada's corporate identity program. For more information, see Federal identity requirements.


Gabarit pour dépôts de code source ouvert du gouvernement du Canada

Comment contribuer

Voir CONTRIBUTING.md

Licence

Sauf indication contraire, le code source de ce projet est protégé par le droit d'auteur de la Couronne du gouvernement du Canada et distribué sous la licence MIT.

Le mot-symbole « Canada » et les éléments graphiques connexes liés à cette distribution sont protégés en vertu des lois portant sur les marques de commerce et le droit d'auteur. Aucune autorisation n'est accordée pour leur utilisation à l'extérieur des paramètres du programme de coordination de l'image de marque du gouvernement du Canada. Pour obtenir davantage de renseignements à ce sujet, veuillez consulter les Exigences pour l'image de marque.

Page details

Date modified: