AWS现货价格历史空白

时间:2016-07-19 01:45:01

标签: amazon-web-services amazon-s3 amazon-ec2 price

我在AWS上获得了AWS CLI工具和帐户。我运行命令aws configure并设置AWS Access密钥,AWS密钥,区域和输出格式。现在我正在运行命令

SELECT *
FROM (
    (
        SELECT i.email AS usermail, i.compteEMVclient, i.datecreation
        FROM internaute i
        INNER JOIN lead lap ON i.id=lap.idInternaute
        INNER JOIN V2_user v ON i.compteEMVclient!=v.compteEMVclient
        INNER JOIN v2_lead vlap ON v.id=vlap.idUser
        )
    UNION
    (
        SELECT v.email AS usermail, v.compteEMVclient, v.datecreation
        FROM V2_user v
        INNER JOIN v2_lead vlap ON v.id=vlap.idUser
        INNER JOIN internaute i ON i.compteEMVclient!=v.compteEMVclient
        INNER JOIN lead lap ON i.id=lap.idInternaute
    )
) AS t

我输出空

aws ec2 describe-spot-price-history --instance-type m1.xlarge --product-description "Linux/Unix"

我尝试了多种实例类型,给出了开始时间和结束时间等。 请有人帮我这个。

1 个答案:

答案 0 :(得分:1)

您确定自己的帐户支持启动ec2-classic instance吗?

如果您在2013-12-04之后创建了帐户,它仅支持EC2-VPC并检索您需要指定您希望VPC中的ec2实例所需的信息

aws ec2 describe-spot-price-history --product-description "Linux/UNIX (Amazon VPC)" --instance-type m1.xlarge