February 2022 Summaries
4 posts from Render
Filter
Month:
Year:
Post Summaries
Back to Blog
Chris Castle shares insights into effectively using Secure Shell Protocol (SSH) for remote debugging and development workflows with Render services. He reminisces about the convenience of Telnet in the 90s and highlights the evolution to SSH, a more secure protocol that allows secure data encapsulation and remote access. Castle explains how Render has integrated SSH to enable command line access to deployed services, which can be useful for tasks like database migrations or file content checks. He explores using SSH for remote debugging, particularly with Node.js applications, by setting up a secure connection and configuring VS Code for debugging. This process involves modifying the service's start command, setting up SSH tunnels, and using VS Code's launch configurations to connect to the remote node process. Castle emphasizes the value of remote debugging for resolving bugs that cannot be reproduced locally, and he encourages developers to explore the potential of SSH and remote debugging tools for various programming languages beyond Node.js, such as Elixir, Go, and Ruby.
Feb 23, 2022
1,536 words in the original blog post.
In the blog post, Chris Castle discusses how to implement password protection for web services deployed on Render using a reverse proxy server, specifically focusing on oauth2-proxy. This method is particularly useful for existing Ruby, Node.js, or Python web services where altering the code is undesirable, or when multiple services need protection without dedicating time to each individually. A reverse proxy acts as a gateway, directing traffic to services that aren't exposed to the public internet, and can help maintain a clear separation between authentication code and the main service code. The oauth2-proxy is advantageous for adding social logins via OAuth 2.0 providers like Google, without needing the web service to be in the same language as oauth2-proxy, which is written in Go. Although it requires deploying an additional service, which may have costs, Render offers a free plan, and oauth2-proxy's documentation aids in navigating the potentially complex configuration. The process involves authenticating users via an OAuth 2.0 flow, ensuring secure access to protected services. Alternative solutions like Pomerium and BuzzFeed's SSO, which build on oauth2-proxy, are also mentioned for those seeking different features or management options.
Feb 10, 2022
1,502 words in the original blog post.
Render, a modern cloud provider, unveiled several new features designed to enhance the developer experience, including a RESTful API, native SSH connectivity, Redis services, and complimentary DDoS protection. The API simplifies the process of building applications by allowing users to create or update sites with a single CURL request, reducing the complexity typically involved in cloud infrastructure configuration. Native SSH connectivity enables secure remote access to services, facilitating integration with development tools without the need for a CLI or session time limits. The introduction of Redis in Early Access addresses the need for efficient caching and queueing, automating complex DevOps tasks and allowing users to handle production workloads more efficiently. Additionally, the free DDoS protection provides robust security against attacks, ensuring reliability and uptime for applications hosted on Render. These developments reflect Render's commitment to providing a seamless, powerful, and cost-effective cloud platform for developers.
Feb 02, 2022
936 words in the original blog post.
PageCrypt is an open-source library designed to securely password protect static sites without requiring backend code, using the Web Crypto API supported by major browsers. It encrypts an HTML page, prompting users for a password to decrypt and view the content, but requires inlining of CSS, JavaScript, and other assets within the HTML for comprehensive protection. PageCrypt supports only a single shared password and does not offer individual user authentication, making it suitable for projects with basic security needs. Additions such as "magic links" allow easier access by embedding the password in a URI fragment, which isn't sent over the internet but remains in the browser's history. While it presents certain limitations, PageCrypt can be integrated into static site build processes using tools like Webpack, Gulp, or Grunt, and offers a simple deployment on platforms like Render.
Feb 01, 2022
938 words in the original blog post.