Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Real-World Edge Computing

You're reading from   Real-World Edge Computing Scale, secure, and succeed in the realm of edge computing with Open Horizon

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781835885840
Length 296 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Robert High Robert High
Author Profile Icon Robert High
Robert High
Sanjeev Gupta Sanjeev Gupta
Author Profile Icon Sanjeev Gupta
Sanjeev Gupta
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Part 1: Managing the Edge FREE CHAPTER
2. Chapter 1: Fundamentals of Edge Computing 3. Chapter 2: Practicalities of Edge Computing 4. Chapter 3: Designing and Building Edge Software 5. Chapter 4: Edge Container Platforms 6. Chapter 5: Application Placement and Life Cycle Management 7. Part 2: Working on the Edge
8. Chapter 6: Installing an Edge Agent on an Edge Node 9. Chapter 7: Registering an Edge Node 10. Chapter 8: Using the Open Horizon CLI and API 11. Chapter 9: Autonomous and Flexible Management of Edge Services 12. Chapter 10: Managing Edge Scale with Policy-Based Workload Placement 13. Part 3: Advancing the Edge System
14. Chapter 11: Machine Learning Workload and Model Deployment 15. Chapter 12: Security at the Edge 16. Chapter 13: Network Connectivity at the Edge 17. Part 4: Edge Management in Practice
18. Chapter 14: Building a Real-World Example Application 19. Chapter 15: Troubleshooting at the Edge 20. Chapter 16: Follow-on Topics 21. Chapter 17: Using the IBM Edge Application Manager Web UI 22. Index 23. Other Books You May Enjoy

Combining multiple services and deployments

Now that you’ve learned how to deploy a simple service, let’s explore how multiple services can be deployed using an Open Horizon Pattern.

As an exercise, deploy service2 while following the instructions we used for service1. The code for this can be found in the example-services service2 directory of this book’s GitHub repository.

Simply running make in the service2 directory will build and push the container image, and then publish service2 and a corresponding pattern.

Run make register to register the Edge device node with the pattern we created previously. Once the Edge device node has been fully registered and the service workload has been deployed and is running, you can test the service’s output with make test-app-service.

You should see an output similar to this:

{
  "hostname": "08a1cd0fbf31",
  "service": "Service Two"
}

At this...

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 $19.99/month. Cancel anytime
Banner background image