Home / Companies / CircleCI / Blog / February 2023

February 2023 Summaries

8 posts from CircleCI

Filter
Month: Year:
Post Summaries Back to Blog
This comprehensive tutorial guides users through the process of setting up an autoscaling CircleCI self-hosted runner infrastructure using AWS Cloud Development Kit (CDK), which facilitates the deployment and management of AWS resources through Infrastructure as Code (IaC). It provides a step-by-step approach, including prerequisites such as installing necessary tools and creating AWS and CircleCI accounts. Users learn to define an AWS Lambda function for autoscaling, configure EC2 instances with a startup script, and secure credentials using AWS Secret Manager. The tutorial covers creating a CircleCI project, configuring CI/CD pipelines, and automating deployments with CircleCI, emphasizing the benefits of autoscaling for optimizing costs and meeting fluctuating resource demands. Additionally, it explains how to test the setup with a NodeJS application and highlights the advantages of using AWS CDK for provisioning resources with familiar programming languages and object-oriented techniques.
Feb 15, 2023 4,065 words in the original blog post.
This tutorial provides a comprehensive guide for creating and deploying a Docker container image of a cloned .NET Core demo application, emphasizing the use of AWS Elastic Container Registry (ECR) and CircleCI for automation. It begins with the process of building a Docker image locally using a Dockerfile that includes development and production instructions. Once the image is built, the tutorial outlines steps to deploy it to Amazon ECR, illustrating how to manage user access and permissions through AWS IAM. It further explains the automation of the deployment process using CircleCI, specifically highlighting the use of the CircleCI AWS ECR orb to build, authenticate, and push images to the registry. The tutorial concludes by ensuring that Docker images are consistently updated with codebase changes, leveraging CircleCI to automate the integration and deployment workflows.
Feb 09, 2023 1,484 words in the original blog post.
Platform engineering is emerging as a solution to the increasing cognitive load and stress faced by developers in the DevOps landscape, which demands both code management and operational responsibilities. By introducing standardized workflows and reusable, self-service components such as internal developer platforms (IDPs), infrastructure automation, and CI/CD templates, platform engineering reduces manual effort while maintaining security and reliability. This approach allows developers to focus on innovation and optimization by automating routine tasks and providing a single interface for launching new projects with secure, standardized defaults. IDPs promote autonomy by enabling developers to deploy resources without lengthy lead times and ensure security is integral to development workflows, transforming DevOps pipelines into robust DevSecOps pipelines. Platform engineers build reusable systems that enhance DevOps practices, allowing teams to reduce manual effort, speed up delivery, and ensure project consistency, thereby reducing the cognitive burden and risk of burnout.
Feb 08, 2023 1,507 words in the original blog post.
During a recent security incident, CircleCI's Discuss community played a pivotal role in responding to the situation, as users and company employees came together to share knowledge, tools, and support. The community's collaborative efforts led to the creation of an incident FAQ, which relied heavily on the contributions of its members. Notable participants included CircleCI Champion Roger, who actively engaged with users, and Glen Mailer, a former employee who provided useful scripts. Additionally, user contributions like those from Hiroaki Ogasawara and GitHub user azu were instrumental in developing an official tool for discovering CircleCI secrets. The company's CTO, Rob Zuber, along with other staff members, actively participated in the forum, while Jeremy Meiss, Head of Developer Relations, ensured the team had the necessary resources. Despite the challenges posed by the security tasks, the community's response was overwhelmingly positive, demonstrating the strength and resilience of CircleCI's user base, which the company plans to leverage for future improvements.
Feb 08, 2023 754 words in the original blog post.
In response to a security incident on January 4, 2023, CircleCI introduced new features and tools to enhance security and assist customers in mitigating risks. These updates include an interactive CLI tool, CircleCI-Env-Inspector, for identifying stored secrets, changes to the UI and API for easier auditing, universal access to self-serve audit logs, and additional functionalities like updated_at timestamps for verifying secret rotations. Customers can now compare SSH checkout keys using SHA-256 fingerprints and access audit logs to review system activities. These measures, inspired by community feedback, aim to improve the security of CI/CD environments by promoting regular credential rotation and monitoring activity across projects. CircleCI emphasizes the importance of using these tools as part of routine security practices and offers ongoing support to its users.
Feb 07, 2023 1,391 words in the original blog post.
Navigating the balance between security and usability in secrets management, the integration of CircleCI with HashiCorp Vault using OpenID Connect (OIDC) authentication tokens offers a solution that enhances security while maintaining development efficiency. The integration allows for the secure and temporary storage of sensitive information, mitigating risks associated with long-lived credentials. Unlike past practices where secrets were often embedded in CI/CD configurations or handled manually, leading to potential security breaches, the use of OIDC tokens in CircleCI provides ephemeral access, reducing the chance of unauthorized exposure. This method also aids in streamlining the development process by allowing seamless access to secrets during build, test, and deployment phases without compromising security. The tutorial outlines steps for configuring Vault and CircleCI to utilize OIDC tokens, demonstrating how to authenticate with Vault and securely manage secrets, thereby reinforcing an organization's security posture while supporting agile development practices.
Feb 03, 2023 1,978 words in the original blog post.
The text provides a comprehensive guide on integrating security into DevSecOps and CI/CD pipelines, emphasizing the importance of considering security at every stage of the development lifecycle. It highlights the necessity of secure CI/CD configurations, code and Git history analysis, and enforcement of security policies to protect resources like secure secrets, proprietary code, and databases. Key practices include safely storing secrets, encrypting sensitive files, monitoring CI/CD environments, and preventing unauthorized access from forked pull requests. The article also discusses tools like Trufflehog and GitLeaks for identifying sensitive information in Git histories and recommends Static and Dynamic Application Security Testing (SAST and DAST) for dependency analysis. Additionally, it touches on the use of CircleCI orbs for efficient pipeline security and the Continuous Application Security (CAS) methodology for enhancing security measures. Finally, it stresses the importance of fostering a security-conscious development culture and maintaining a streamlined process for reporting and addressing security issues.
Feb 02, 2023 1,545 words in the original blog post.
The CircleCI contexts API offers a way to enhance security practices by automating the management of sensitive keys and secrets, which is crucial for meeting compliance requirements like FedRAMP and GDPR. This tool allows organizations to securely store credentials and secrets necessary for CI/CD workflows, enabling access to private datastores and infrastructure while maintaining security. Despite robust measures like encryption and access logging, no system is infallible, making regular secret rotation essential to mitigate risks such as unauthorized access or exposure in logs. CircleCI recommends automating this process to minimize human error and ensure consistency, emphasizing the Principle of Least Privilege and tailoring secret rotation schedules to the organization's risk profile. These security practices are beneficial not only for large enterprises but also for small open-source projects, helping to protect against breaches and improve overall security posture.
Feb 02, 2023 589 words in the original blog post.