This manual consists of instructions to set up integrated Internet services using existing free software for you, your family and/or your organization under a framework using Docker. Before reading this manual, make sure you understand the basics of GNU/Linux commands (or a different POSIX system such as Mac OS X, FreeBSD). Server setup knowledge is recommended but not required. By following the instructions in this manual, you should be able to set up an integrated system running multiple server software---we will refer them as "Internet apps" throughout this manual. In addition, you can also use this manual as a reference. For instance, if you follow some other instructions to deploy a server with Docker, or to set up some of the software mentioned in this manual, this manual may be helpful.
Summary Go from zero to production readiness with Docker in 22 bite-sized lessons! Learn Docker in a Month of Lunches is an accessible task-focused guide to Docker on Linux, Windows, or Mac systems. In it, you’ll learn practical Docker skills to help you tackle the challenges of modern IT, from cloud migration and microservices to handling legacy systems. There’s no excessive theory or niche-use cases—just a quick-and-easy guide to the essentials of Docker you’ll use every day. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology The idea behind Docker is simple: package applications in lightweight virtual containers that can be easily installed. The results of this simple idea are huge! Docker makes it possible to manage applications without creating custom infrastructures. Free, open source, and battle-tested, Docker has quickly become must-know technology for developers and administrators. About the book Learn Docker in a Month of Lunches introduces Docker concepts through a series of brief hands-on lessons. Following a learning path perfected by author Elton Stoneman, you’ll run containers by chapter 2 and package applications by chapter 3. Each lesson teaches a practical skill you can practice on Windows, macOS, and Linux systems. By the end of the month you’ll know how to containerize and run any kind of application with Docker. What's inside Package applications to run in containers Put containers into production Build optimized Docker images Run containerized apps at scale About the reader For IT professionals. No previous Docker experience required. About the author Elton Stoneman is a consultant, a former architect at Docker, a Microsoft MVP, and a Pluralsight author. Table of Contents PART 1 - UNDERSTANDING DOCKER CONTAINERS AND IMAGES 1. Before you begin 2. Understanding Docker and running Hello World 3. Building your own Docker images 4. Packaging applications from source code into Docker Images 5. Sharing images with Docker Hub and other registries 6. Using Docker volumes for persistent storage PART 2 - RUNNING DISTRIBUTED APPLICATIONS IN CONTAINERS 7. Running multi-container apps with Docker Compose 8. Supporting reliability with health checks and dependency checks 9. Adding observability with containerized monitoring 10. Running multiple environments with Docker Compose 11. Building and testing applications with Docker and Docker Compose PART 3 - RUNNING AT SCALE WITH A CONTAINER ORCHESTRATOR 12. Understanding orchestration: Docker Swarm and Kubernetes 13. Deploying distributed applications as stacks in Docker Swarm 14. Automating releases with upgrades and rollbacks 15. Configuring Docker for secure remote access and CI/CD 16. Building Docker images that run anywhere: Linux, Windows, Intel, and Arm PART 4 - GETTING YOUR CONTAINERS READY FOR PRODUCTION 17. Optimizing your Docker images for size, speed, and security 18. Application configuration management in containers 19. Writing and managing application logs with Docker 20. Controlling HTTP traffic to containers with a reverse proxy 21. Asynchronous communication with a message queue 22. Never the end
A practical guide to rapidly and efficiently mastering Docker containers, along with tips and tricks learned in the field. About This Book Use Docker containers, horizontal node scaling, modern orchestration tools (Docker Swarm, Kubernetes, and Mesos) and Continuous Integration/Continuous Delivery to manage your infrastructure. Increase service density by turning often-idle machines into hosts for numerous Docker services. Learn what it takes to build a true container infrastructure that is scalable, reliable, and resilient in the face of increased complexities from using container infrastructures. Find out how to identify, debug, and mitigate most real-world, undocumented issues when deploying your own Docker infrastructure. Learn tips and tricks of the trade from existing Docker infrastructures running in production environments. Who This Book Is For This book is aimed at system administrators, developers, DevOps engineers, and software engineers who want to get concrete, hands-on experience deploying multi-tier web applications and containerized microservices using Docker. This book is also for anyone who has worked on deploying services in some fashion and wants to take their small-scale setups to the next level (or simply to learn more about the process). What You Will Learn Set up a working development environment and create a simple web service to demonstrate the basics Learn how to make your service more usable by adding a database and an app server to process logic Add resilience to your services by learning how to horizontally scale with a few containers on a single node Master layering isolation and messaging to simplify and harden the connectivity between containers Learn about numerous issues encountered at scale and their workarounds, from the kernel up to code versioning Automate the most important parts of your infrastructure with continuous integration In Detail Deploying Docker into production is considered to be one of the major pain points in developing large-scale infrastructures, and the documentation available online leaves a lot to be desired. With this book, you will learn everything you wanted to know to effectively scale your deployments globally and build a resilient, scalable, and containerized cloud platform for your own use. The book starts by introducing you to the containerization ecosystem with some concrete and easy-to-digest examples; after that, you will delve into examples of launching multiple instances of the same container. From there, you will cover orchestration, multi-node setups, volumes, and almost every relevant component of this new approach to deploying services. Using intertwined approaches, the book will cover battle-tested tooling, or issues likely to be encountered in real-world scenarios, in detail. You will also learn about the other supporting components required for a true PaaS deployment and discover common options to tie the whole infrastructure together. At the end of the book, you learn to build a small, but functional, PaaS (to appreciate the power of the containerized service approach) and continue to explore real-world approaches to implementing even larger global-scale services. Style and approach This in-depth learning guide shows you how to deploy your applications in production using Docker (from the basic steps to advanced concepts) and how to overcome challenges in Docker-based infrastructures. The book also covers practical use-cases in real-world examples, and provides tips and tricks on the various topics.
Deploy, manage, and scale Machine Learning models with MLOps effortlessly KEY FEATURES ● Explore several ways to build and deploy ML models in production using an automated CI/CD pipeline. ● Develop and convert ML apps into Android and Windows apps. ● Learn how to implement ML model deployment on popular cloud platforms, including Azure, GCP, and AWS. DESCRIPTION ‘Machine Learning in Production’ is an attempt to decipher the path to a remarkable career in the field of MLOps. It is a comprehensive guide to managing the machine learning lifecycle from development to deployment, outlining ways in which you can deploy ML models in production. It starts off with fundamental concepts, an introduction to the ML lifecycle and MLOps, followed by comprehensive step-by-step instructions on how to develop a package for ML code from scratch that can be installed using pip. It then covers MLflow for ML life cycle management, CI/CD pipelines, and shows how to deploy ML applications on Azure, GCP, and AWS. Furthermore, it provides guidance on how to convert Python applications into Android and Windows apps, as well as how to develop ML web apps. Finally, it covers monitoring, the critical topic of machine learning attacks, and A/B testing. With this book, you can easily build and deploy machine learning solutions in production. WHAT YOU WILL LEARN ● Master the Machine Learning lifecycle with MLOps. ● Learn best practices for managing ML models at scale. ● Streamline your ML workflow with MLFlow. ● Implement monitoring solutions using whylogs, WhyLabs, Grafana, and Prometheus. ● Use Docker and Kubernetes for ML deployment. WHO THIS BOOK IS FOR Whether you are a Data scientist, ML engineer, DevOps professional, Software engineer, or Cloud architect, this book will help you get your machine learning models into production quickly and efficiently. TABLE OF CONTENTS 1. Python 101 2. Git and GitHub Fundamentals 3. Challenges in ML Model Deployment 4. Packaging ML Models 5. MLflow-Platform to Manage the ML Life Cycle 6. Docker for ML 7. Build ML Web Apps Using API 8. Build Native ML Apps 9. CI/CD for ML 10. Deploying ML Models on Heroku 11. Deploying ML Models on Microsoft Azure 12. Deploying ML Models on Google Cloud Platform 13. Deploying ML Models on Amazon Web Services 14. Monitoring and Debugging 15. Post-Productionizing ML Models
TAGLINE Craft Production-Grade Web Apps with MEVN on AWS, Azure, & GCP KEY FEATURES ● Gain an in-depth understanding of MongoDB, Express.js, Vue.js, and Node.js, and its integration to build full-stack applications. ● Develop a complete project from scratch, covering all aspects of the MEVN stack with detailed, step-by-step instructions. ● Learn how to deploy your MEVN stack applications on popular cloud platforms like AWS, Azure, and GCP. DESCRIPTION Embark on a journey into modern web development with the Ultimate Full Stack Web Development with MEVN to build robust, scalable applications using MongoDB, Express.js, Vue.js, and Node.js. Starting with fundamental concepts and installation steps, this book progresses to advanced topics and hands-on coding exercises, culminating in the creation of a comprehensive project that spans the entire stack. The book will dive into Vue.js for crafting seamless dynamic user interfaces and explore Node.js modules and components to effectively structure applications. Next, it will delve deeper into MongoDB for efficient data management and seamless integration within your MEVN stack. It will navigate UI development intricacies and explore essential logging options to refine Node.js API development practices. In the concluding section, you'll learn essential techniques for deploying MEVN applications effectively in production environments. The book will cover Docker's capabilities for consistent application containerization across varied deployment settings and critical unit testing and end-to-end testing strategies to boost application reliability and performance. By the end of the book, you will be able to deploy and scale your MEVN apps on cloud platforms like Google Cloud, AWS, and Azure. WHAT WILL YOU LEARN ● Integrate MongoDB, Express.js, Vue.js, and Node.js to build robust and scalable applications. ● Utilize MongoDB Atlas and Mongoose for efficient data storage and management. ● Build interactive user interfaces with component-based architecture and state management using Vuex. ● Use Node.js and Express.js to create and deploy efficient, scalable server-side applications. ● Learn Docker fundamentals to containerize and manage applications consistently across environments. ● Deploy, scale, and manage applications on AWS, Azure, and GCP with best practices. ● Add functionalities like user authentication, CRUD operations, and API integrations through hands-on projects. ● Solve real-world problems with coding exercises and scenarios, solidifying your full-stack development expertise. WHO IS THIS BOOK FOR? This book is tailored for aspiring and current developers, including software engineers, web developers, and full-stack developers, who already have a basic understanding of web technologies and programming principles. Familiarity with JavaScript, HTML, and CSS would be a plus. If you are eager to deepen your skills in full stack MEVN development and learn about deploying applications on major cloud platforms like AWS, Azure, and GCP, this book is for you. TABLE OF CONTENTS 1. Introduction 2. Prerequisites 3. Exploring Vue.js 4. Node.js Modules and Components 5. Setting Up Development Environment 6. Backend Development With TypeScript 7. Getting Familiar With MongoDB and Integration 8. UI Development 9. Logging Options in Node.js API 10. Building MEVN Stack for Production 11. Running MEVN Stack on Docker 12. Unit Testing 13. End-to-End Testing 14. MEVN Stack Container Options on Google Cloud 15. MEVN Stack Container Options on AWS 16. MEVN Stack Container Options on Azure Index
Design, develop, and deploy a real-world web application by leveraging modern open source technologies. This book shows you how to use ASP.NET Core to build cross-platform web applications along with SignalR to enrich the application by enabling real-time communication between server and clients. You will use Docker to containerize your application, integrate with GitHub to package the application, and provide continuous deployment to Azure’s IaaS platform. Along the way, Real-Time Web Application Development covers topics including designing a Materialize CSS theme, using a test-driven development approach with xUnit.net, and securing your application with the OAuth 2.0 protocol. To further your understanding of the technology, you will learn logging and exception handling; navigation using view components; and how to work with forms and validations. The rich code samples from this book can be used to retrofit or upgrade existing ASP.NET Core applications. What You Will Learn Design and develop a real-world web application Implement security and data storage with OAuth2 and Azure Table Storage Orchestrate real-time notifications through SignalR Use GitHub and Travis CI for continuous integration of code Master Docker containerization and continuous deployment with Docker Cloud to Azure Linux virtual machines Who This Book Is For Developers and software engineers interested in learning an end-to-end approach to application development using Microsoft technologies.
This two-volume set constitutes the refereed post-conference proceedings of the 12th International Conference on Simulation Tools and Techniques, SIMUTools 2020, held in Guiyang, China, in August 2020. Due to COVID-19 pandemic the conference was held virtually. The 125 revised full papers were carefully selected from 354 submissions. The papers focus on simulation methods, simulation techniques, simulation software, simulation performance, modeling formalisms, simulation verification and widely used frameworks.
Unlock the full potential of Streamlit, mastering web app development from setup to deployment with practical guidance, advanced techniques, and real-world examples Key Features Identify and overcome web development challenges, crafting dedicated application skeletons using Streamlit Understand how Streamlit's widgets and components work to implement any kind of web app Manage web application development and deployment with ease using the Streamlit Cloud service Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionThis book is a comprehensive guide to the Streamlit open-source Python library and simplifying the process of creating web applications. Through hands-on guidance and realistic examples, you’ll progress from crafting simple to sophisticated web applications from scratch. This book covers everything from understanding Streamlit's central principles, modules, basic features, and widgets to advanced skills such as dealing with databases, hashes, sessions, and multipages. Starting with fundamental concepts like operation systems virtualization, IDEs, development environments, widgets, scripting, and the anatomy of web apps, the initial chapters set the groundwork. You’ll then apply this knowledge to develop some real web apps, gradually advancing to more complex apps, incorporating features like natural language processing (NLP), computer vision, dashboards with interactive charts, file uploading, and much more. The book concludes by delving into the implementation of advanced skills and deployment techniques. By the end of this book, you’ll have transformed into a proficient developer, equipped with advanced skills for handling databases, implementing secure login processes, managing session states, creating multipage applications, and seamlessly deploying them on the cloud.What you will learn Develop interactive web apps with Streamlit and deploy them seamlessly on the cloud Acquire in-depth theoretical and practical expertise in using Streamlit for app development Use themes and customization for visually appealing web apps tailored to specific needs Implement advanced features including secure login, signup processes, file uploaders, and database connections Build a catalog of scripts and routines to efficiently implement new web apps Attain autonomy in adopting new Streamlit features rapidly and effectively Who this book is for This book is for Python programmers, web developers, computer science students, and IT enthusiasts with a foundation in Python (or any programming language) who have a passion for creating visually appealing applications. If you already know how to write programs, this book will help you evolve into an adept web application developer skilled at converting command-line tools into impressive, cloud-hosted applications.
Take full creative control of your web applications with Flask, the Python-based microframework. With the second edition of this hands-on book, youâ??ll learn Flask from the ground up by developing a complete, real-world application created by author Miguel Grinberg. This refreshed edition accounts for important technology changes that have occurred in the past three years. Explore the frameworkâ??s core functionality, and learn how to extend applications with advanced web techniques such as database migrations and an application programming interface. The first part of each chapter provides you with reference and background for the topic in question, while the second part guides you through a hands-on implementation. If you have Python experience, youâ??re ready to take advantage of the creative freedom Flask provides. Three sections include: A thorough introduction to Flask: explore web application development basics with Flask and an application structure appropriate for medium and large applications Building Flasky: learn how to build an open source blogging application step-by-step by reusing templates, paginating item lists, and working with rich text Going the last mile: dive into unit testing strategies, performance analysis techniques, and deployment options for your Flask application
Immerse yourself in the cutting-edge world of web development with "Crafting Scalable Web Solutions: Harnessing Go and Docker for Modern Development." This definitive guide equips software developers with the tools to create powerful, efficient, and scalable web applications. Through a perfect blend of theory and hands-on examples, you'll learn how to leverage the simplicity of Go and the containerization power of Docker to build high-performing and secure applications tailored for today's web. From setting up your development environment to mastering the creation of RESTful APIs, from understanding Docker basics to orchestrating containers for microservices, this book covers every crucial aspect. Discover how to implement Continuous Integration and Deployment workflows, monitor application performance, and apply best practices to optimize both speed and security. Whether you're new to Go and Docker or looking to refine your expertise, this comprehensive resource guides you smoothly through the complexities of modern web application development. Elevate your development skills and take your projects to unprecedented heights with "Crafting Scalable Web Solutions: Harnessing Go and Docker for Modern Development."