Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Set up Anthos Service Mesh for multiple GKE clusters using Terraform

Categories

Tags devops-and-ci-cd frontend-and-mobile product-and-design cloud-and-infrastructure

Anthos Service Mesh is a managed service mesh for Google Kubernetes Engine (GKE) clusters. Anthos Service Mesh allows GKE clusters to use a single logical service mesh, so that pods can communicate across clusters securely and services can share a single Virtual Private Cloud (VPC). By Waheed Brown and Jianhe Liao.

For those who want to get started immediately, there is a Git repo with complete source code and README instructions. There are also bonus sections at the end, for mesh traffic security scanning and external databases respectively.

This guide then walks you through set up process:

  • Supported version
  • Shared VPCs
  • SSL/TLS termination
  • Security
  • Container workload security
  • Container runtime (Containerd)
  • Security scanning with Prisma Cloud (formerly Twistlock)
  • External databases with Google Cloud SQL for PostgreSQL
  • Towards federated clusters

The authors recommend using the cos_containerd runtime for GKE clusters using Anthos Service Mesh. The current Docker container runtime is being sunsetted from GKE. Adopting cos_containerd now will avoid having to migrate in the future. Excellent read!

[Read More]

Open sourcing the Netflix Domain Graph Service Framework: GraphQL for Spring Boot

Categories

Tags cloud-and-infrastructure backend-development data-and-analytics architecture-and-apis frontend-and-mobile product-and-design

Alex Birsan recently published his article “Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies” in which he explains how he used language level package managers like npm (Javascript), pip (Python), and gems (Ruby) to get companies to install and run his malicious code on their infrastructure. By Paul Bakker and Kavitha Srinivasan.

The key features of the DGS Framework include: annotation-based spring boot programming model, test framework for writing query tests as unit tests, gradle code generation plugin to create java/kotlin types from a graphql schema, easy integration with graphql federation, integration with spring security, graphql subscriptions (websockets and sse), file uploads, error handling, automatic support for interface/union types, a graphql client for java, pluggable instrumentation.

The article then reads about:

  • Why we needed a DGS framework
  • Schema-first development
  • The framework in action
  • Fitting into the GraphQL Server Ecosystem
  • Federation
  • Framework architecture
  • Distributed tracing and metrics

The DGS Framework has been a success at Netflix owing to the efforts of multiple teams coming together. Further, you will find links to the further reading, documentation and tutorials in the article. Good read!

[Read More]

Preventing dependency confusion in PHP with Composer

Categories

Tags backend-development software-engineering frontend-and-mobile cloud-and-infrastructure product-and-design

Alex Birsan recently published his article “Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies” in which he explains how he used language level package managers like npm (Javascript), pip (Python), and gems (Ruby) to get companies to install and run his malicious code on their infrastructure. By Nils Adermann.

The problem boils down to companies referencing internal packages by name, e.g. “my-internal-package” and an attacker then publishing a package by the same name “my-internal-package” with a higher version number on the central registry / package repository for that language (for PHP that would be packagist.org).

    "repositories": {
        "private-repo": {
            "url": "https://my-repo.internal"
        }
        "packagist.org": {
            "url": "https://repo.packagist.org",
            "exclude": ["myprefix/*"]
        }
    }

The article then describes what Composer and Packagist have in place to help protect companies from this serious problem:

  • Composer package names always include a vendor prefix
  • As of Composer 2.0 custom repositories are canonical by default
  • Private Packagist has always treated third party mirrored repositories including packagist.org as canonical and never loaded package information from mirrors if a private package by that name exists
  • Private Packagist allows you to manually approve each newly mirrored package
  • Composer always generates a lock file
  • With Composer 2 you can exclude package names or patterns from loading for each repository

Supply chain attacks like the ones described by Alex are a serious threat to businesses and have frequently shown up in the news recently, so it is important that your business understands the risks it is exposed to and takes measures to mitigate them. Good read!

[Read More]

Realizing the full potential of DevSecOps

Categories

Tags devops-and-ci-cd leadership-and-career cloud-and-infrastructure security-and-privacy product-and-design

An article about four strategies to achieve a true DevSecOps culture. For federal agencies, achieving mission success increasingly hinges on modernizing legacy systems and transforming operations. By Phoebe Nerdahl @Atlassian.com.

It’s no surprise that a growing number of government programs and IT departments are turning to DevSecOps software development methodologies and technologies to automate tool sets and centralize IT workflows. DevSecOps builds on the learnings and best practices of general DevOps, with the addition of security verification as an active, integrated part of the development process. When leveraged correctly, a DevSecOps approach delivers the agility and flexibility to speed up capabilities for citizens while streamlining redundant and time-consuming processes.

To support agency teams as they work to bridge this gap, author compiled a list of four recommendations that can enable agencies to realize the full potential of DevSecOps:

  • Develop cross-agency collaboration
  • Create open work environments
  • Provide training opportunities
  • Fuel repeatability and responsiveness

The four practices outlined here may take time to incorporate into your agency’s processes, but they will pay dividends. The result is a culture of trust and collaboration that adds value, transforms operations, and delivers mission success. You will alsop get links to further reading and amongst others to the Team Playbook - free workshop resources for addressing common team challenges and starting important conversations. Good advice!

[Read More]

Windows 10 Device Guard and Credential Guard demystified

Categories

Tags software-engineering how-to cloud-and-infrastructure leadership-and-career

While helping Windows Enterprise customers deploy and realize the benefits of Windows 10, I’ve observed there’s still a lot of confusion regarding the security features of the operating system. By Priyanka_Pillai @Microsoft.

Device Guard is a group of key features, designed to harden a computer system against malware. Its focus is preventing malicious code from running by ensuring only known good code can run. Credential Guard is a specific feature that is not part of Device Guard that aims to isolate and harden key system and user secrets against compromise, helping to minimize the impact and breadth of a Pass the Hash style attack in the event that malicious code is already running via a local or network based vector.

Device Guard consists of three primary components:

  • Configurable Code Integrity (CCI) – Ensures that only trusted code runs from the boot loader onwards.
  • VSM Protected Code Integrity – Moves Kernel Mode Code Integrity (KMCI) and Hypervisor Code Integrity (HVCI) components into VSM, hardening them from attack.
  • Platform and UEFI Secure Boot – Ensuring the boot binaries and UEFI firmware are signed and have not been tampered with.

Although separate from Device Guard, the Credential Guard feature also leverages Virtual Secure Mode by placing an isolated version of the Local Security Authority (LSA – or LSASS) under it’s protection. You will also find screen grabs explaining how to set up described configurations. Good read!

[Read More]

CSO's ultimate guide to security and privacy laws, regulations, and compliance

Categories

Tags leadership-and-career miscellaneous security-and-privacy cloud-and-infrastructure

This handy directory provides summaries and links to the full text of each security or privacy law and regulation. By csoonline.com.

This directory includes laws, regulations and industry guidelines with significant security and privacy impact and requirements. Each entry includes a link to the full text of the law or reg as well as information about what and who is covered.

It captures the resources for the following categories:

  • Broadly applicable laws and regulations
  • Industry-specific guidelines and requirements
  • US state laws
  • International laws

It explains briefly the purpose of the standard, to whom it applies, key points for CISOs and link to actual document. You will also get links to other useful resources for CISO. Excellent source of information and good to keep in your bookmarks list!

[Read More]

10 reasons to use Azure SQL in your next project

Categories

Tags cloud-and-infrastructure data-and-analytics leadership-and-career

There are many database technologies available on Azure that you can choose from. Why would you use Azure SQL. By Davide.

Azure SQL is the relational and post-relational database that I’d like to say has “batteries included”. I borrowed that term from Python, one of my preferred languages, and that’s also the main reason why it is a great database for developers.

The article then explains:

  • Post-Relational features for the modern apps
  • Complete storage control and abstraction with Columnstore and Rowstore
  • Ultra-high concurrency with Lock-Free Memory-Optimized tables
  • Time Traveling with “As-Of” queries
  • Encryption, Masking and Row-Level Security
  • Blocking and Non-Blocking Transactions
  • Complete Monitorability and Full Insights

.. and more. Azure SQL has drivers support for all the most common languages be it C#, Java, Python, Node or Go. With .NET the newly released Microsoft.Data.SqlClient is the way to go, open source and backward compatible with System.

And just because Azure SQL in SQL server are just different twins, everything you will use on Azure SQL it will be easily usable on SQL Server which runs on Windows, but also on Linux and even on Edge devices. A database that spans from the cloud to the edge. Good read!

[Read More]

Spring Batch on Kubernetes: Efficient batch processing at scale

Categories

Tags devops-and-ci-cd software-engineering backend-development

Batch processing has been a challenging area of computer science since its inception in the early days of punch cards and magnetic tapes. By Mahmoud Ben Hassine. In this blog post, author introduces some of the challenges a batch developer or architect may face when designing and running batch applications at scale and show how Spring Batch, Spring Boot and Kubernetes can tremendously simplify this task

The main content:

  • Fault tolerance
  • Robustness
  • Cost efficiency
  • Observability
  • Scalability
  • How does Spring Batch make a batch developer’s life easier?
  • How does Kubernetes make the batch operator’s life easier?
  • Spring Batch on Kubernetes: a perfect match, in action
  • Tips and Tricks

We are dealing with an unprecedented amounts of data, which is impossible to handle on a single machine any more. Correctly processing large volumes of distributed data is probably the most challenging point. Cloud-native batch applications should be scalable by design.

This post showed how to go from start.spring.io to Kubernetes in three simple steps, thanks to the productivity of the Spring ecosystem, but this is only scratching the surface of the matter. You will get full application example with all the code and kubernetes deployment files. Nice one!

[Read More]

From first principles: Why Scala?

Categories

Tags backend-development product-and-design software-engineering

Scala, first appearing in 2004, is neither an old stalwart nor a new player in the programming language market. This post will discuss the unique combination of features that Scala provides and how it compares to other languages on the market, diving beneath the superficial experience to explore the fundamentals of the language. By Haoyi.

Scala combines object-oriented and functional programming in one concise, high-level language. Scala’s static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.

The article’s main sections:

  • User-facing selling points of the Scala language
  • A compiled language that feels dynamic
  • Hybrid languages
  • Why use a hybrid language?
  • Easy safety and correctness
  • Functional programming
  • A broad and deep ecosystem
  • All in on Static Analysis
  • Inference for ease of use

… and more. Scala more than most languages focuses on static compilation and analysis. Almost all Scala language features are resolved statically, with even the “monkey-patch”-esque extension methods and implicit conversions implemented at compile-time rather than runtime.

At small scale, the personal preference between static typechecking doesn’t matter. At larger scale, the lack of static typechecking is a huge pain point for anyone maintaining a system. While that was not so clear in the past, today we can see every dynamic language adding support for static typing.

Scala is a language that scales well from one-line snippets to million-line production codebases, with the convenience of a scripting language and the performance and scalability of a compiled language. Scala’s conciseness makes rapid prototyping a joy, while its optimizing compiler and fast JVM runtime provide great performance to support your heaviest production workloads. Very nice!

[Read More]

Introducing real-time data integration for BigQuery with Cloud Data Fusion

Categories

Tags cloud-and-infrastructure data-and-analytics leadership-and-career

Businesses today have a growing demand for real-time data integration, analysis, and action. More often than not, the valuable data driving these actions—transactional and operational data—is stored either on-prem or in public clouds in traditional relational databases that aren’t suitable for continuous analytics. By Bhooshan Mogal.

Cloud Data Fusion is a fully managed, cloud-native data integration and ingestion service that helps developers, data engineers, and business analysts alike to efficiently build and manage ETL/ELT jobs.

Let’s take a closer look at the benefits of replication in Data Fusion:

  • Remove technical bottlenecks so even citizen developers can set up replication easily
  • Feasibility assessment and actionable recommendations
  • Easily access the latest operational data in real time for analysis within BigQuery
  • Enterprise scalability to support high-volume transactional databases
  • End-to-end operational visibility

Data Fusion also provides operational dashboards to monitor throughput, latency, and errors in replication jobs. Interesting for anybody dealing with big data!

[Read More]