Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Cloud Penetration Testing for Red Teamers

You're reading from  Cloud Penetration Testing for Red Teamers

Product type Book
Published in Nov 2023
Publisher Packt
ISBN-13 9781803248486
Pages 298 pages
Edition 1st Edition
Languages
Author (1):
Kim Crawley Kim Crawley
Profile icon Kim Crawley

Table of Contents (20) Chapters

Preface 1. Part 1:Today’s Cloud Networks and Their Security Implications
2. Chapter 1: How Do Enterprises Utilize and Implement Cloud Networks? 3. Chapter 2: How Are Cloud Networks Cyber Attacked? 4. Chapter 3: Key Concepts for Pentesting Today’s Cloud Networks 5. Part 2:Pentesting AWS
6. Chapter 4: Security Features in AWS 7. Chapter 5: Pentesting AWS Features through Serverless Applications and Tools 8. Chapter 6: Pentesting Containerized Applications in AWS 9. Part 3:Pentesting Microsoft Azure
10. Chapter 7: Security Features in Azure 11. Chapter 8: Pentesting Azure Features through Serverless Applications and Tools 12. Chapter 9: Pentesting Containerized Applications in Azure 13. Part 4:Pentesting GCP
14. Chapter 10: Security Features in GCP 15. Chapter 11: Pentesting GCP Features through Serverless Applications and Tools 16. Chapter 12: Pentesting Containerized Applications in GCP 17. Chapter 13: Best Practices and Summary 18. Index 19. Other Books You May Enjoy

Docker and Kubernetes pentesting techniques in GCP

Now that we understand Docker and Kubernetes, let’s deploy them in GCP. Then, we’ll pentest them. First, let’s deploy the Docker and Kubernetes clusters that we’ll practice pentesting in.

Deploying Docker

We will use basic default Docker container images in our Docker deployment because we’re not doing anything fancy with it; we’re just trying out our pentesting tools! Follow these steps:

  1. The simplest way for us to deploy a Docker cluster in GCP is to start with Cloud Run. Use your web browser to log in to the Google Cloud account we set up in Chapter 11. Once you’re in the GCP web console, go to https://console.cloud.google.com/run to use Cloud Run.

    The Cloud Run screen should look something like this:

Figure 12.1 – Cloud Run panel in the GCP console

Figure 12.1 – Cloud Run panel in the GCP console

  1. Click on +CREATE SERVICE at the top, just underneath the top menu bar. You...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}