Verleger: 8
AWS Lambda w Pythonie. Kurs video. Poznaj bibliotekę boto3
Konrad Partas
Obierz kurs na... AWS i boto3 Amazon Web Services (AWS) to obecnie najpopularniejsza chmura publiczna. Jednym z ważniejszych serwisów AWS jest AWS Lambda - platforma serverless, która umożliwia uruchamianie kodu bez konieczności zarządzania infrastrukturą. Lambda może automatycznie skalować aplikacje, obsługując setki tysięcy żądań w ciągu sekundy, bez dodatkowej konfiguracji. Jej doskonałym uzupełnieniem jest biblioteka Boto3, umożliwiająca programowanie serwisów AWS z poziomu Pythona. Połączenie AWS Lambda i Boto3 otwiera niezwykłe możliwości w automatyzacji zarządzania zasobami w chmurze. W praktyce oznacza to, że całe operacje mogą być realizowane automatycznie, z minimalnym udziałem kodu i bez zarządzania serwerami. Znajomość boto3 i AWS Lambda to kluczowe umiejętności dla każdego dewelopera pracującego w środowisku AWS, ponieważ umożliwiają szybkie tworzenie aplikacji i automatyzację zadań, takich jak backup danych, przetwarzanie plików, czy monitorowanie systemów. Na co dzień z tego duetu korzystają różne grupy specjalistów, w tym inżynierowie DevOps na potrzebę zarządzania infrastrukturą w chmurze, programiści do tworzenia aplikacji serverless, analitycy danych i data scientists do przetwarzania danych i automatyzacji analiz i wreszcie administratorzy systemów w celu reagowania na awarie i utrzymania środowisk EC2. Rozpocznij szkolenie i w praktyce przekonaj się jakie możliwości oferuje AWS Lambda i Boto3! Co Cię czeka podczas naszego profesjonalnego szkolenia Podczas kursu: Wyliczysz koszt używania serwisu AWS Lambda Poznasz zasady event-driven development Stworzysz funkcję Lambda, definiując jej logikę i konfigurację Zmienisz handler funkcji Lambda, dostosowując sposób obsługi zdarzeń Dowiesz się jak zautoryzować boto3 uruchamiane lokalnie do AWS Ustawisz timeout oraz parametry CPU, RAM i storage funkcji Lambda Skonfigurujesz zmienne środowiskowe w funkcjach Lambda Dowiesz się jak działają triggery funkcji Lambda i jak je ustawić, aby automatycznie reagowały na określone zdarzenia Nauczysz się tworzyć rozwiązania działające na wielu regionach za pomocą boto3 Zmodyfikujesz rolę wykonawczą Lambda, aby dostosować uprawnienia funkcji do wymagań Zainstalujesz zewnętrzne biblioteki do funkcji Lambda, rozszerzając jej możliwości Szkolenie AWS Lambda w Pythonie. Kurs video. Poznaj bibliotekę boto3 przedstawia od podstaw wszystkie najważniejsze elementy zarówno serwisu AWS Lambda, jak i biblioteki Boto3. Poznasz praktyczne zastosowania obydwu narzędzi i zdobędziesz wiedzę jak z nich korzystać w sposób symultaniczny. Na początku zaznajomisz się z mechanizmem logowania funkcji Lambda potrzebnym do monitorowania i analizy działania aplikacji. Dowiesz się jakie zastosowanie mają eventy i konteksty w funkcjach Lambda i dlaczego są niezbędne do efektywnej pracy z różnorodnymi zdarzeniami. Poznasz koncepcję Lambda destination, która pomoże zarządzać rezultatem wywołań funkcji. Zrozumiesz, jak tworzyć i administrować warstwami Lambda, aby ponownie używać biblioteki w innych funkcjach. Tworzenie niestandardowych środowisk uruchomieniowych przy użyciu Dockera będzie kolejnym krokiem w zaawansowanej optymalizacji aplikacji. Dzięki zdobytej wiedzy o AWS Lambda, będziesz w stanie tworzyć i zarządzać funkcjami opartymi na podejściu event-driven development, co pozwoli na efektywne reagowanie na zdarzenia w czasie rzeczywistym. Nauczysz się optymalizować działanie funkcji pod kątem wydajności ustawiając im timeout, pamięć i storage. Dowiesz się, jak korzystać z execution role i resource-based policy, aby zapewnić odpowiednie uprawnienia funkcjom Lambda. Logi funkcji Lambda są narzędziem do monitorowania i diagnozowania problemów, a możliwość dodawania zewnętrznych bibliotek i warstw Lambda rozszerzy funkcjonalność aplikacji. Nauczysz się także, jak wykorzystywać Boto3 do zarządzania zasobami AWS, w tym jak autoryzować aplikacje lokalnie, obsługiwać błędy, korzystać z paginatora, waiterów i kolekcji. Zdobędziesz umiejętność budowania rozwiązań działających w wielu regionach i na wielu kontach AWS, co zwiększy skalowalność i elastyczność Twoich aplikacji w chmurze. Możliwości AWS Lambda i Boto3 Zastosowanie AWS Lambda i Boto3 doprowadziło do powstania wielu innowacyjnych aplikacji. Przykładowo aplikacje do monitorowania żywotności systemów IT automatycznie wykrywają problemy w infrastrukturze i uruchamiają procesy naprawcze, takie jak restartowanie instancji EC2. Kolejnym popularnym zastosowaniem jest wspomaganie przetwarzania obrazów i filmów - przesłanie pliku do S3 automatycznie uruchamia Lambdę, która za pomocą Boto3 obrabia pliki i kompresuje je lub konwertuje formaty. W branży e-commerce funkcje Lambda zintegrowane z Boto3 służą do automatyzacji zarządzania katalogiem produktów, np. aktualizowania cen i stanów magazynowych. Wreszcie, narzędzia do analizy danych mogą wykorzystywać te technologie do automatycznego uruchamiania analiz na nowych danych w chmurze, dostarczając dynamiczne raporty w czasie rzeczywistym. Możliwość automatycznego uruchamiania analiz na nowych danych w chmurze za pomocą Boto3 wynika z jego zdolności do łatwej integracji z serwisami AWS, takimi jak S3 czy DynamoDB. AWS Lambda i Boto3 to duet, który pozwala na zbudowanie elastycznego systemu analiz, który automatycznie reaguje na zmiany danych i dostarcza wyniki bez potrzeby manualnej ingerencji w program.
Jhalak Modi, Satyajit Das
This book starts with practical recipes on the fundamentals of cloud networking and gradually moves on to configuring networks and implementing infrastructure automation. This book then supplies in-depth recipes on networking components like Network Interface, Internet Gateways, DNS, Elastic IP addresses, and VPN CloudHub. Later, this book also delves into designing, implementing, and optimizing static and dynamic routing architectures, multi-region solutions, and highly available connectivity for your enterprise. Finally, this book will teach you to troubleshoot your VPC's network, increasing your VPC's efficiency. By the end of this book, you will have advanced knowledge of AWS networking concepts and technologies and will have mastered implementing infrastructure automation and optimizing your VPC.
Phani Kumar Lingamallu, Fabio Oliveira
As modern application architecture grows increasingly complex, identifying potential points of failure and measuring end user satisfaction, in addition to monitoring application availability, is key. This book helps you explore AWS observability tools that provide end-to-end visibility, enabling quick identification of performance bottlenecks in distributed applications.You’ll gain a holistic view of monitoring and observability on AWS, starting from observability basics using Amazon CloudWatch and AWS X-Ray to advanced ML-powered tools such as AWS DevOps Guru. As you progress, you'll learn about AWS-managed open source services such as AWS Distro for OpenTelemetry (ADOT) and AWS managed Prometheus, Grafana, and the ELK Stack. You’ll implement observability in EC2 instances, containers, Kubernetes, and serverless apps and grasp UX monitoring. With a fair mix of concepts and examples, this book helps you gain hands-on experience in implementing end-to-end AWS observability in your applications and navigating and troubleshooting performance issues with the help of use cases. You'll also learn best practices and guidelines, such as how observability relates to the Well-Architected Framework.By the end of this AWS book, you’ll be able to implement observability and monitoring in your apps using AWS’ native and managed open source tools in real-world scenarios.
Jonathan Helmus
Cloud security has always been treated as the highest priority by AWS while designing a robust cloud infrastructure. AWS has now extended its support to allow users and security experts to perform penetration tests on its environment. This has not only revealed a number of loopholes and brought vulnerable points in their existing system to the fore, but has also opened up opportunities for organizations to build a secure cloud environment. This book teaches you how to perform penetration tests in a controlled AWS environment.You'll begin by performing security assessments of major AWS resources such as Amazon EC2 instances, Amazon S3, Amazon API Gateway, and AWS Lambda. Throughout the course of this book, you'll also learn about specific tests such as exploiting applications, testing permissions flaws, and discovering weak policies. Moving on, you'll discover how to establish private-cloud access through backdoor Lambda functions. As you advance, you'll explore the no-go areas where users can’t make changes due to vendor restrictions and find out how you can avoid being flagged to AWS in these cases. Finally, this book will take you through tips and tricks for securing your cloud environment in a professional way.By the end of this penetration testing book, you'll have become well-versed in a variety of ethical hacking techniques for securing your AWS environment against modern cyber threats.
AWS: Security Best Practices on AWS. Learn to secure your data, servers, and applications with AWS
Albert Anthony
With organizations moving their workloads, applications, and infrastructure to the cloud at an unprecedented pace, security of all these resources has been a paradigm shift for all those who are responsible for security; experts, novices, and apprentices alike.This book focuses on using native AWS security features and managed AWS services to help you achieve continuous security. Starting with an introduction to Virtual Private Cloud (VPC) to secure your AWS VPC, you will quickly explore various components that make up VPC such as subnets, security groups, various gateways, and many more.You will also learn to protect data in the AWS platform for various AWS services by encrypting and decrypting data in AWS. You will also learn to secure web and mobile applications in AWS cloud.This book is ideal for all IT professionals, system administrators, security analysts, solution architects, and chief information security officers who are responsible for securing workloads in AWS for their organizations.This book is embedded with useful assessments that will help you revise the concepts you have learned in this book. This book is repurposed for this specific learning experience from material from Packt's Mastering AWS Security, written by Albert Anthony.
Heartin Kanikathottu
As a security consultant, securing your infrastructure by implementing policies and following best practices is critical. This cookbook discusses practical solutions to the most common problems related to safeguarding infrastructure, covering services and features within AWS that can help you implement security models such as the CIA triad (confidentiality, integrity, and availability), and the AAA triad (authentication, authorization, and availability), along with non-repudiation.The book begins with IAM and S3 policies and later gets you up to speed with data security, application security, monitoring, and compliance. This includes everything from using firewalls and load balancers to secure endpoints, to leveraging Cognito for managing users and authentication. Over the course of this book, you'll learn to use AWS security services such as Config for monitoring, as well as maintain compliance with GuardDuty, Macie, and Inspector. Finally, the book covers cloud security best practices and demonstrates how you can integrate additional security services such as Glacier Vault Lock and Security Hub to further strengthen your infrastructure.By the end of this book, you'll be well versed in the techniques required for securing AWS deployments, along with having the knowledge to prepare for the AWS Certified Security – Specialty certification.
Heartin Kanikathottu
As a security consultant, implementing policies and best practices to secure your infrastructure is critical. This cookbook discusses practical solutions for safeguarding infrastructure, covering services and features within AWS that help implement security models, such as the CIA triad (confidentiality, integrity, and availability) and the AAA triad (authentication, authorization, and accounting), as well as non-repudiation.This updated second edition starts with the fundamentals of AWS accounts and organizations. The book then guides you through identity and access management, data protection, network security, and encryption. You’ll explore critical topics such as securing EC2 instances, managing keys with KMS and CloudHSM, and implementing endpoint security. Additionally, you’ll learn to monitor your environment using CloudWatch, CloudTrail, and AWS Config, while maintaining compliance with services such as GuardDuty, Macie, and Inspector. Each chapter presents practical recipes for real-world scenarios, allowing you to apply security concepts.By the end of this book, you’ll be well versed in techniques required for securing AWS deployments and be prepared to gain the AWS Certified Security – Specialty certification.
Eric Z. Beard , Rowan Udell, Lucas...
AWS is an on-demand remote computing service providing cloud infrastructure over the internet with storage, bandwidth, and customized support for APIs. This updated second edition will help you implement these services and efficiently administer your AWS environment.You will start with the AWS fundamentals and then understand how to manage multiple accounts before setting up consolidated billing. The book will assist you in setting up reliable and fast hosting for static websites, sharing data between running instances and backing up data for compliance. By understanding how to use compute service, you will also discover how to achieve quick and consistent instance provisioning. You’ll then learn to provision storage volumes and autoscale an app server. Next, you’ll explore serverless development with AWS Lambda, and gain insights into using networking and database services such as Amazon Neptune. The later chapters will focus on management tools like AWS CloudFormation, and how to secure your cloud resources and estimate costs for your infrastructure. Finally, you’ll use the AWS well-architected framework to conduct a technology baseline review self-assessment and identify critical areas for improvement in the management and operation of your cloud-based workloads.By the end of this book, you’ll have the skills to effectively administer your AWS environment.