July 2018 Summaries
6 posts from Pulumi
Filter
Month:
Year:
Post Summaries
Back to Blog
The article explores how Pulumi, an open-source platform for cloud programming, enables users to manage infrastructure, serverless functions, and containers using familiar programming languages like TypeScript on Node.js. It highlights the advantage of using code instead of YAML for infrastructure-as-code, showcasing examples across various cloud providers like AWS, Azure, and Google Cloud. The article emphasizes the power of using control structures and reusable components in programming languages to abstract and manage cloud infrastructure efficiently. It also demonstrates how Pulumi facilitates serverless computing by allowing developers to write and deploy lambdas without YAML, promoting an event-driven style that easily integrates with existing resources. Additionally, it covers container deployment, showing how Pulumi simplifies the process by supporting direct commands and auto-building containers from code snippets, thereby reducing complexity. The text underscores Pulumi's extensibility and flexibility in defining custom components with runtime APIs, offering a comprehensive overview of how developers can leverage Pulumi for scalable and maintainable cloud applications.
Jul 25, 2018
6,329 words in the original blog post.
Pulumi is a versatile tool for managing cloud resources across AWS, Azure, and Google Cloud Platform, allowing users to directly manage the properties of these resources using libraries specific to each cloud provider. With Pulumi, users can effortlessly provision and configure various cloud components, such as security groups, EC2 instances, CloudWatch metric alarms, and dashboards, by writing concise code in languages like JavaScript. The tool supports a wide range of AWS resources, including Athena databases, DynamoDB tables, IAM roles, and SNS topics, enabling comprehensive infrastructure management. Pulumi's ability to define resources programmatically simplifies the process of setting up monitoring systems, such as CloudWatch dashboards, and automating notifications, such as posting to an SNS topic when specific events occur. For more detailed guidance, users are encouraged to explore the AWS API documentation and sample code examples provided by Pulumi.
Jul 20, 2018
425 words in the original blog post.
Pulumi offers a streamlined approach to setting up the infrastructure for serving static websites on AWS by integrating several AWS services, including Amazon S3 for content storage, Amazon CloudFront as a content distribution network, Amazon Route53 for DNS management, and Amazon Certificate Manager for HTTPS support. By utilizing Pulumi's code-centric model, users can efficiently configure and maintain these cloud resources, eliminating the complexities involved in integrating multiple products. This setup, which Pulumi itself employs for its websites, allows for global content delivery and HTTPS support without manual AWS console intervention. Pulumi's flexibility also enables easy expansion to accommodate additional functionalities, such as authentication or dynamic content delivery, and facilitates the creation of testing or staging environments by running the same program in different stacks. The example provided demonstrates how around 200 lines of code can seamlessly integrate these AWS products to host a static website, highlighting Pulumi's capacity to manage infrastructure while allowing users to retain control and customize as needed.
Jul 17, 2018
1,037 words in the original blog post.
Pulumi utilizes GitHub for its development process, employing topic branches that are often forgotten and left undeleted after merging pull requests. To address this, Pulumi employs automation through serverless functions and webhooks, leveraging GitHub's webhooks and Pulumi's serverless capabilities to automatically delete branches post-merge. By creating an HTTP endpoint that listens for GitHub events, Pulumi can log events and validate webhooks using HMAC signatures. Pulumi further enhances this process by using dynamic resources to streamline webhook registration and management with GitHub, allowing the automation of tasks such as deleting merged branches through tools like @octokit/rest. This integration is encapsulated in a GitHubWebhook component, which abstracts the complexities of managing webhooks and integrates the registration process as a resource within Pulumi's infrastructure, showcasing Pulumi's flexibility in extending and sharing such abstractions through packages.
Jul 13, 2018
4,223 words in the original blog post.
Amazon's integration of Simple Queue Service (SQS) as a supported event source for AWS Lambda enhances serverless computing by allowing Lambdas to be triggered directly by messages in SQS queues. This development streamlines the process, eliminating the need for dedicated services to poll SQS or create SNS notifications. Pulumi, a cloud infrastructure as code platform, quickly adapted to this functionality, enabling users to define infrastructure components like AWS Queues and Lambdas directly in code. By leveraging this new API, users can efficiently set up event subscriptions that trigger Lambdas upon receiving SQS messages, demonstrated in an example where SQS messages are posted to Slack. Pulumi's integration with Terraform initially encountered a challenge due to a constraint in an older API, but a collaborative effort resolved the issue, allowing both Terraform and Pulumi users to benefit. The update simplifies creating serverless applications, enabling rapid provisioning of AWS resources and demonstrating an end-to-end message-receiving and processing pipeline in just a few lines of code, with improvements to be included in upcoming Pulumi releases.
Jul 10, 2018
1,271 words in the original blog post.
Pulumi allows developers to build serverless applications using only JavaScript by simplifying the deployment process through code rather than configuration files like YAML. This approach not only leverages modern JavaScript features and tools such as NPM and Express but also integrates seamlessly with cloud platforms like AWS, Azure, and Google Cloud Platform. Pulumi's method involves writing concise code that defines both application logic and the necessary cloud infrastructure, which can then be deployed quickly and run as scalable, low-cost services. By focusing on code, developers gain benefits such as code completion, error checking, and improved versioning and packaging workflows, making the development process more efficient and enjoyable. Pulumi supports multiple programming languages, including TypeScript, Python, and Go, allowing developers to bring their existing skills to cloud programming.
Jul 05, 2018
852 words in the original blog post.