liveBook · Manning

Security

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

Data protection is the set of practices for preventing data from being damaged, lost, overwritten, or deleted.

Security protects data and application operations from damage, loss, unauthorized modification, disruption, and exposure. Treat customer-captured source data as the highest protection priority because it cannot be regenerated. section 11.4.3 section 12.5

Build practical protection around these defensive measures:

  • Automate backups, then regularly practice restoring them; maintain important data in at least three places. section 11.4.3
  • Record data safely as soon as it is captured, and never overwrite or delete source data. section 11.4.3
  • Keep capture code minimal and thoroughly tested because failures in this code can damage or destroy data. section 11.4.3
  • Use authentication, authorization, and encryption, while considering regional privacy and anonymity requirements. section 12.5
  • Expose only the gateway publicly; keep internal services, RabbitMQ, and MongoDB inaccessible from outside the cluster unless adequately protected. section 12.5

A defensive microservice boundary

A scalable deployment exposes its gateway to customers while shielding internal microservices and infrastructure. Future hardening adds gateway authentication and HTTPS for customer communications. section 12.5

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Explains backups, restoration, source-data immutability, service boundaries, and core controls, but defers comprehensive security treatment.
Examples
Demonstrates automated backups, practiced restoration, three-place storage, gateway exposure, and shielding RabbitMQ and MongoDB.
What it assumes
Assumes an application or microservice deployment, while introducing core security controls and defensive data practices at a basic level.
What you can do after
Apply backups, restoration drills, immutable source capture, service isolation, authentication, authorization, and encryption.
How it connects
Connects data protection with backups, authentication, authorization, encryption, privacy, microservices, and HTTPS.

Also explained in

Compare how 28 books explain security →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.