AWS Cloud Map - resources

2021年12月20日

-




import json
import boto3
import random


def lambda_handler(event, context):
    serviceclient = boto3.client('servicediscovery')

    response = serviceclient.discover_instances(
        NamespaceName='appnamespace',
        ServiceName='dataservices',
        QueryParameters={
            'name': 'datatable'
        }
    )
    print(response)
    
    tablename = response["Instances"][0]["Attributes"]["tablename"]
    print(tablename)
    
    dynamodbclient = boto3.resource('dynamodb')
    table = dynamodbclient.Table(tablename)
    response = table.get_item(
        Key={
            'orderId': 'xxxxxxx'
        },
    )
    
    return {
        'statusCode': 200,
        'body': json.dumps(response)
    }
-


14:00 Demo

30:39 Istio Cloud Map Operator
37:13 Deploy Cloud Map operator, create service entries



-
CON366 - NEW LAUNCH - AWS re:Invent 2018: Introducing AWS Cloud Map




slide 8

slide 12

slide 15

slide 19 - Attribute-based service discovery

16:48 - 29:03 Demo
It matches the Obi of the load balancer automatically created for you thanks to external DNS connector that was deployed on that eks cluster so he s automatically publishes ingress controllers to cloud map

32:00 Consul
34:50 Consul demo

45:10 Availability and price





Questions:
1. What are the differences among public, private and HTTP?




Of course, AWS Cloud Map is not the only option for Service Discovery Software. Explore other competing options and alternatives. Other important factors to consider when researching alternatives to AWS Cloud Map include ease of use and reliability. We have compiled a list of solutions that reviewers voted as the best overall alternatives and competitors to AWS Cloud Map, including ZooKeeper, Docker, HashiCorp Consul, and Eureka.

References

Service Discovery using Amazon Cloud Map

AWS Cloud Map: Easily create and maintain custom maps of your applications

Top 10 AWS Cloud Map Alternatives & Competitors

AWS Cloud Map service discovery for serverless applications

-

Category: AWS Tags: public

Upvote


Downvote