Create Dev Endpoint
| glue_create_dev_endpoint | R Documentation |
Creates a new development endpoint¶
Description¶
Creates a new development endpoint.
Usage¶
glue_create_dev_endpoint(EndpointName, RoleArn, SecurityGroupIds,
SubnetId, PublicKey, PublicKeys, NumberOfNodes, WorkerType, GlueVersion,
NumberOfWorkers, ExtraPythonLibsS3Path, ExtraJarsS3Path,
SecurityConfiguration, Tags, Arguments)
Arguments¶
EndpointName[required] The name to be assigned to the new
DevEndpoint.RoleArn[required] The IAM role for the
DevEndpoint.SecurityGroupIdsSecurity group IDs for the security groups to be used by the new
DevEndpoint.SubnetIdThe subnet ID for the new
DevEndpointto use.PublicKeyThe public key to be used by this
DevEndpointfor authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.PublicKeysA list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.
If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the
update_dev_endpointAPI with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.NumberOfNodesThe number of Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint.WorkerTypeThe type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.For the
G.1Xworker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.For the
G.2Xworker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the
G.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.GlueVersionGlue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
You can specify a version of Python support for development endpoints by using the
Argumentsparameter in thecreate_dev_endpointorupdate_dev_endpointAPIs. If no arguments are provided, the version defaults to Python 2.NumberOfWorkersThe number of workers of a defined
workerTypethat are allocated to the development endpoint.The maximum number of workers you can define are 299 for
G.1X, and 149 forG.2X.ExtraPythonLibsS3PathThe paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your
DevEndpoint. Multiple values must be complete paths separated by a comma.You can only use pure Python libraries with a
DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.ExtraJarsS3PathThe path to one or more Java
.jarfiles in an S3 bucket that should be loaded in yourDevEndpoint.SecurityConfigurationThe name of the
SecurityConfigurationstructure to be used with thisDevEndpoint.TagsThe tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
ArgumentsA map of arguments used to configure the
DevEndpoint.
Value¶
A list with the following syntax:
list(
EndpointName = "string",
Status = "string",
SecurityGroupIds = list(
"string"
),
SubnetId = "string",
RoleArn = "string",
YarnEndpointAddress = "string",
ZeppelinRemoteSparkInterpreterPort = 123,
NumberOfNodes = 123,
WorkerType = "Standard"|"G.1X"|"G.2X"|"G.025X"|"G.4X"|"G.8X"|"Z.2X",
GlueVersion = "string",
NumberOfWorkers = 123,
AvailabilityZone = "string",
VpcId = "string",
ExtraPythonLibsS3Path = "string",
ExtraJarsS3Path = "string",
FailureReason = "string",
SecurityConfiguration = "string",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
Arguments = list(
"string"
)
)
Request syntax¶
svc$create_dev_endpoint(
EndpointName = "string",
RoleArn = "string",
SecurityGroupIds = list(
"string"
),
SubnetId = "string",
PublicKey = "string",
PublicKeys = list(
"string"
),
NumberOfNodes = 123,
WorkerType = "Standard"|"G.1X"|"G.2X"|"G.025X"|"G.4X"|"G.8X"|"Z.2X",
GlueVersion = "string",
NumberOfWorkers = 123,
ExtraPythonLibsS3Path = "string",
ExtraJarsS3Path = "string",
SecurityConfiguration = "string",
Tags = list(
"string"
),
Arguments = list(
"string"
)
)