AzureがSpring BootをサポートするらしいのでSpring Cloud GCPと比較してみた

前にSpring FrameworkというJavaのフレームワークについて何度か書いて、そのときにGoogleがGCP上でSpring Bootをサポートするという記事を目にしていたが、ここにきてAzureがGCPより踏み込んだ形でSpring Bootに対応するようだ。

- Spring Cloud GCP SQL automatically configures the JDBC URLs and driver class names and helps establish secure SSL connection using client certificates.
- Use Spring Integration concepts like channels, gateways, etc. and sending/receiving messages from Cloud Pub/Sub.
- Use Spring Resource objects to access and store files in Cloud Storage buckets.
- Use Spring Cloud Sleuth and its annotations to trace your microservices and send the trace data to Stackdriver Trace for storage and analysis.

まず、GCPの2018年2月のブログから。SQLやPub/Sub、ストレージといったGCP固有のものをSpring Bootから使えるようにするというプロジェクトだ。Sleuthはログを様々なプラットフォームに投げられるツールだが、これもGCPのStackdriverというモニタリングと連携できる。

Quickly develop and deliver your Java apps using fully managed Spring Cloud components, including service discovery, configuration management, and distributed tracing. Just deploy your source code or build artifacts, and Azure Spring Cloud will automatically wire your app with the Spring Cloud infrastructure.

発表されたばかりのAzureはfully managedということで、サービス検知、構成管理、分散トレーシングなどを詰め込み、クラウドならではの開発スピードを含めて提供しようとしている。

Gain deep insights into application dependencies and operational telemetry using Azure Monitor. Aggregate metrics for a topological view of how different services interact and see average performance and error rates. Easily identify the root cause of reliability issues and performance bottlenecks.

GCPがStackdriverで監視を一元化しているように、AzureもAzure Monitorで一元管理している。

Use a large portfolio of Spring starters to easily interact with Azure services such as Azure Cosmos DB, Azure Active Directory, and Key Vault. Include Spring starters in your app instead of manually figuring out related dependencies. Spring starter development is open to the community, and we welcome code contributions.

当然ながらAzure Cosmos DBやAzure Active Directoryなどのクラウドサービスとも連携できる。

Azureは単に組み合わせられますよというだけでなく、Springを載せた状態で課金するサービスとして提供しており、その点も心強い。




この記事が気に入ったらサポートをしてみませんか?