def build_node(node):
    """
    Build a node.

    :param node: a dict containing formation, layer, params, and creds info.
    :rtype: a tuple of (provider_id, fully_qualified_domain_name, metadata)
    """
    provider_id = 'i-1234567'
    fqdn = node.get('fqdn') or 'localhost.localdomain.local'
    metadata = {'state': 'running'}
    return provider_id, fqdn, metadata